phy: qcom-qmp-combo: clean up probe initialisation
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 14 Nov 2022 11:06:20 +0000 (12:06 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:16:53 +0000 (22:46 +0530)
commit44aff8e31080e13a24313120aae259c659b04cd1
tree01dfb06d367a5988948cb1972e55708e67429206
parent6c7c449a008b7a279e15254a829d096a7ea72ee3
phy: qcom-qmp-combo: 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/20221114110621.4639-22-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c