aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass2018-11-23 21:29:39 -0700
committerSimon Glass2018-12-05 06:01:35 -0700
commit4a978e86d73e792b3136ad9e83df4ba566a040c7 (patch)
tree89508daecd8bf15e10e2fb943bd3e8fa592ea15a /drivers
parent165be50f5ad128e0b87bddf8a12dcafd3c8ba7f4 (diff)
video: backlight: Fix log message in enable_sequence()
This has an extra argument. Remove it. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/pwm_backlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pwm_backlight.c b/drivers/video/pwm_backlight.c
index c13a9077090..bd733f5f1ca 100644
--- a/drivers/video/pwm_backlight.c
+++ b/drivers/video/pwm_backlight.c
@@ -78,7 +78,7 @@ static int enable_sequence(struct udevice *dev, int seq)
ret = regulator_set_enable(priv->reg, true);
if (ret) {
log_debug("Cannot enable regulator for PWM '%s'\n",
- __func__, dev->name);
+ dev->name);
return log_ret(ret);
}
mdelay(120);