]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
phy: phy-rockchip-inno-usb2: Use dev_err_probe() in the probe path
authorDragan Simic <dsimic@manjaro.org>
Thu, 5 Sep 2024 08:28:24 +0000 (10:28 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Oct 2024 06:23:16 +0000 (11:53 +0530)
commit40452520850683f6771094ca218ff206d1fcb022
tree51c55879d8f1552110105695974e8852ccbb8ae0
parent595ad7a336bf21f9d111a033820cd95d70343bd1
phy: phy-rockchip-inno-usb2: Use dev_err_probe() in the probe path

Improve error handling in the probe path by using function dev_err_probe()
instead of function dev_err(), where appropriate.

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/d4ccd9fc278fb46ea868406bf77811ee507f0e4e.1725524803.git.dsimic@manjaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c