phy: amlogic: phy-meson-axg-pcie: Simplify error handling with dev_err_probe()
authorAnand Moon <linux.amoon@gmail.com>
Thu, 10 Apr 2025 13:33:20 +0000 (19:03 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Apr 2025 11:37:15 +0000 (17:07 +0530)
commitfef364bd4c9cf712c91e0013f5f304f4e7f09198
tree67823e2391ea227e4b2df4b63e548f97819017f9
parenta77e2e899841937798bff0924c03d4d0e4963aa3
phy: amlogic: phy-meson-axg-pcie: Simplify error handling with dev_err_probe()

Use dev_err_probe() for phy resources to indicate the deferral
reason when waiting for the resource to come up.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250410133332.294556-6-linux.amoon@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/amlogic/phy-meson-axg-pcie.c