]> 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 02:13:32 +0000 (21:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Feb 2026 15:44:21 +0000 (16:44 +0100)
commitbbb5649cf3acaf1b0ecc9a9964211ff30e93983d
treea925e63fa8b9e464bbc233ee0e3ddbfdb3f8d3d9
parentb5f44eb2523555427a10c020d7ec60e666a73f95
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