phy: starfive: fix error code in probe
authorDan Carpenter <dan.carpenter@linaro.org>
Tue, 18 Jul 2023 07:02:49 +0000 (10:02 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 24 Jul 2023 10:23:54 +0000 (15:53 +0530)
commit86fe3e9f4c635cf740b31161ee35aed4a78e03f9
tree527f937f7c56c1d48ea545bfa657c9965faa8d73
parentf66782cff479807ad7e98f0cf6a0c0babfe0159b
phy: starfive: fix error code in probe

This is using the wrong pointer, "phy->regs" vs "phy->phy".

Fixes: fd097f48eea9 ("phy: starfive: Add JH7110 PCIE 2.0 PHY driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/3cc81f2a-efd7-4ef7-ae6b-e38c91efe153@moroto.mountain
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/starfive/phy-jh7110-pcie.c