aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/uniphier
diff options
context:
space:
mode:
authorMasahiro Yamada2018-05-05 19:53:52 +0900
committerMasahiro Yamada2018-05-08 10:25:14 +0900
commit7629d0b9bc81a567d4a30d05c1ec7f5a2f9bafa2 (patch)
tree294864a8cabd58b57a6a3a0aaa80adacf6d38e27 /drivers/pinctrl/uniphier
parentd5c0d9a12ac7f9b2dbc07e2fdb4456e1e4b38cbb (diff)
pinctrl: uniphier: replace printf() with dev_err()
dev_err() is more suitable for printing error messages. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/pinctrl/uniphier')
-rw-r--r--drivers/pinctrl/uniphier/pinctrl-uniphier-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
index 7b427d06ece..601a42d9091 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;
}