diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-09-17 20:22:08 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-09-20 11:18:24 +0200 |
commit | 35b871f72a5a06dc5a328427a437797ad99c0696 (patch) | |
tree | 685503ce4837110065d480cee142d87936248f8f /drivers/pinctrl/pinctrl-cy8c95x0.c | |
parent | 790cf9e3da3f16d65d389d714f6e18f27cf18704 (diff) |
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: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220917122208.1894769-1-yangyingliang@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-cy8c95x0.c')
0 files changed, 0 insertions, 0 deletions