OSDN Git Service

phy: qcom-qmp-pcie: clean up probe initialisation
authorJohan Hovold <johan+linaro@kernel.org>
Sat, 5 Nov 2022 14:59:28 +0000 (15:59 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 10 Nov 2022 07:04:54 +0000 (12:34 +0530)
commit52b997732eb6bf64df242403c7510520d89be266
treea2ec1a6d9ac896bffe3dbca5b4b2f7e4337c0132
parent393ed5d515494250712dd1703418bb541765afe3
phy: qcom-qmp-pcie: clean up probe initialisation

Stop abusing the driver data pointer and instead pass the driver state
structure directly to the initialisation helpers during probe.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221105145939.20318-6-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c