phy: qcom-qmp-pcie: clean up clock lists
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 17 Oct 2022 06:50:12 +0000 (08:50 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 17 Oct 2022 08:15:47 +0000 (13:45 +0530)
Keep the clock lists together and sorted by symbol name.

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

index b42c5e1..cb2128e 100644 (file)
@@ -1462,6 +1462,10 @@ static inline void qphy_clrbits(void __iomem *base, u32 offset, u32 val)
 }
 
 /* list of clocks required by phy */
+static const char * const ipq8074_pciephy_clk_l[] = {
+       "aux", "cfg_ahb",
+};
+
 static const char * const msm8996_phy_clk_l[] = {
        "aux", "cfg_ahb", "ref",
 };
@@ -1476,10 +1480,6 @@ static const char * const qmp_phy_vreg_l[] = {
        "vdda-phy", "vdda-pll",
 };
 
-static const char * const ipq8074_pciephy_clk_l[] = {
-       "aux", "cfg_ahb",
-};
-
 /* list of resets */
 static const char * const ipq8074_pciephy_reset_l[] = {
        "phy", "common",