OSDN Git Service

phy: qcom-qmp-ufs: clean up probe initialisation
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 24 Oct 2022 09:00:35 +0000 (11:00 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 28 Oct 2022 13:00:30 +0000 (18:30 +0530)
commit018dfc99aef2f487f95e07fcbd600e02d290ba18
treea38b1a01cabb80501fbc95b7e75808d3c9bfb39d
parentcb2c3d2ee46fe56144b74a22504e023aa59835aa
phy: qcom-qmp-ufs: clean up probe initialisation

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

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