]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
phy: phy-rockchip-inno-usb2: Use dev_err_probe() in the probe path
authorDragan Simic <dsimic@manjaro.org>
Wed, 21 Jan 2026 01:49:10 +0000 (20:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jan 2026 09:27:42 +0000 (10:27 +0100)
commit479fab9aeade18da4a29cea023a0b0c3caa61565
treee42df78f6c049f43404601e810d7ad924cc12f27
parentd6705bcc5fe7c2e2035b58e04b1ca11b41ffcb7b
phy: phy-rockchip-inno-usb2: Use dev_err_probe() in the probe path

[ Upstream commit 40452520850683f6771094ca218ff206d1fcb022 ]

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>
Stable-dep-of: e07dea3de508 ("phy: rockchip: inno-usb2: Fix a double free bug in rockchip_usb2phy_probe()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c