]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: backlight: Fix log message in enable_sequence()
authorSimon Glass <sjg@chromium.org>
Sat, 24 Nov 2018 04:29:39 +0000 (21:29 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:01:35 +0000 (06:01 -0700)
This has an extra argument. Remove it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
drivers/video/pwm_backlight.c

index c13a90770909651f12d1c7bbbd5446f144b2d040..bd733f5f1ca5a221ed3844d53e816ceaac08c547 100644 (file)
@@ -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);