net: mdio: mux-meson-g12a: Switch to use dev_err_probe() helper
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 15 Sep 2022 06:50:41 +0000 (14:50 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 15:41:19 +0000 (08:41 -0700)
commitde0665c871b7cdcf5661649c6bc5b863ece94a35
treec66e1bf8f02c58e86f49a8a66c237b3ce85c5bef
parent1089877ada8d2da5f173922f1061ccfe721ebf56
net: mdio: mux-meson-g12a: Switch to use dev_err_probe() helper

dev_err() can be replace with dev_err_probe() which will check if error
code is -EPROBE_DEFER.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220915065043.665138-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/mdio/mdio-mux-meson-g12a.c