Skip to content
Commit 35b871f7 authored by Yang Yingliang's avatar Yang Yingliang Committed by Linus Walleij
Browse files

pinctrl: sunxi: sun50i-h5: Switch to use dev_err_probe() helper



In the probe path, dev_err() can be replace with dev_err_probe()
which will check if error code is -EPROBE_DEFER and and prints the
error name.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220917122208.1894769-1-yangyingliang@huawei.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 790cf9e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment