From: Masahiro Yamada Date: Sat, 5 May 2018 10:53:52 +0000 (+0900) Subject: pinctrl: uniphier: replace printf() with dev_err() X-Git-Tag: v2018.07-rc1~193^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7629d0b9bc81a567d4a30d05c1ec7f5a2f9bafa2;p=platform%2Fkernel%2Fu-boot.git pinctrl: uniphier: replace printf() with dev_err() dev_err() is more suitable for printing error messages. Signed-off-by: Masahiro Yamada --- diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c index 7b427d06ec..601a42d909 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c @@ -173,7 +173,7 @@ static int uniphier_pinconf_set_one(struct udevice *dev, unsigned int pin, ret = uniphier_pinconf_input_enable(dev, pin, arg); break; default: - printf("unsupported configuration parameter %u\n", param); + dev_err(dev, "unsupported configuration parameter %u\n", param); return -EINVAL; }