phy: qcom-qmp-usb: clean up probe initialisation
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 28 Oct 2022 16:04:29 +0000 (18:04 +0200)
committerVinod Koul <vkoul@kernel.org>
Sat, 5 Nov 2022 07:29:42 +0000 (12:59 +0530)
commit413db06c05e729639e9b64cf7ab5d918b8182006
tree08f8ad3d196c03d0cfab8bf76e9e426864ff4d7b
parent8ec02ba8493639c721fc63ed05c06891061ef9b5
phy: qcom-qmp-usb: 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/20221028160435.26948-8-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-usb.c