Skip to content

Commit 7c18b0a

Browse files
committed
clk: samsung: gs101: drop unused HSI2 clock parent data
Drop static const arrays with HSI2 clocks parent data which are not referenced by any clock. This might cause -Werror=unused-const-variable warnings. Reported-by: Stephen Boyd <sboyd@kernel.org> Closes: https://lore.kernel.org/all/8bf65df598680f0785c3d6db70acfb9a.sboyd@kernel.org/ Fixes: 093c290 ("clk: samsung: gs101: add support for cmu_hsi2") Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Link: https://lore.kernel.org/r/20240507055948.34554-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 6b32d74 commit 7c18b0a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

drivers/clk/samsung/clk-gs101.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2601,21 +2601,6 @@ static const unsigned long cmu_hsi2_clk_regs[] __initconst = {
26012601
QUEUE_CTRL_REG_BLK_HSI2_CMU_HSI2,
26022602
};
26032603

2604-
PNAME(mout_hsi2_ufs_embd_p) = { "oscclk", "dout_cmu_shared0_div4",
2605-
"dout_cmu_shared2_div2", "fout_spare_pll" };
2606-
2607-
PNAME(mout_hsi2_pcie_p) = { "oscclk", "dout_cmu_shared2_div2" };
2608-
2609-
PNAME(mout_hsi2_bus_p) = { "dout_cmu_shared0_div4",
2610-
"dout_cmu_shared1_div4",
2611-
"dout_cmu_shared2_div2",
2612-
"dout_cmu_shared3_div2",
2613-
"fout_spare_pll", "oscclk", "oscclk",
2614-
"oscclk" };
2615-
2616-
PNAME(mout_hsi2_mmc_card_p) = { "fout_shared2_pll", "fout_shared3_pll",
2617-
"dout_cmu_shared0_div4", "fout_spare_pll" };
2618-
26192604
PNAME(mout_hsi2_bus_user_p) = { "oscclk", "dout_cmu_hsi2_bus" };
26202605
PNAME(mout_hsi2_mmc_card_user_p) = { "oscclk", "dout_cmu_hsi2_mmc_card" };
26212606
PNAME(mout_hsi2_pcie_user_p) = { "oscclk", "dout_cmu_hsi2_pcie" };

0 commit comments

Comments
 (0)