]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: rockchip-pcie: Simplify error handling with dev_err_probe()
authorAnand Moon <linux.amoon@gmail.com>
Sat, 12 Oct 2024 07:19:03 +0000 (12:49 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 4 Dec 2024 13:27:07 +0000 (18:57 +0530)
commit84de918083d09500d93d991d8989addfaae1611e
treef497e5aed36cc8d9c759f793f90d6be51a32d71a
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
phy: rockchip-pcie: Simplify error handling with dev_err_probe()

Use the dev_err_probe() helper to simplify error handling during probe.
This also handle scenario, when -EDEFER is returned and useless error
is printed.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Link: https://lore.kernel.org/r/20241012071919.3726-2-linux.amoon@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-pcie.c