[U-Boot] [PATCH 16/21] video: backlight: Fix log message in enable_sequence()

Simon Glass sjg at chromium.org
Sat Nov 24 04:29:39 UTC 2018


This has an extra argument. Remove it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/video/pwm_backlight.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
2.20.0.rc0.387.gc7a69e6b6c-goog



More information about the U-Boot mailing list