mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
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>
This commit is contained in:
parent
d5c0d9a12a
commit
7629d0b9bc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue