Skip to contentSkip to conversation

clk: qcom: rpmh: remove duplicate IPA clock reference

PATCH Applied Arnd Bergmann 3 participants 3 messages Jan 17, 2023 – Jan 18, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: qcom: rpmh: remove duplicate IPA clock reference

From: Arnd Bergmann <[email protected]>

One of the ones that were recently added was already there:

drivers/clk/qcom/clk-rpmh.c:578:35: error: initialized field overwritten [-Werror=override-init]
578 | [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw,

Fixes aa055bf158cd ("clk: qcom: rpmh: define IPA clocks where required")
---
 drivers/clk/qcom/clk-rpmh.c | 1 -
 1 file changed, 1 deletion(-)
drivers/clk/qcom/clk-rpmh.c +0 -1
index 393b83f6020e..45ee370f3307 100644
@@ -575,7 +575,6 @@ static struct clk_hw *sc8280xp_rpmh_clocks[] = {
 	[RPMH_IPA_CLK]          = &clk_rpmh_ipa.hw,
 	[RPMH_PKA_CLK]          = &clk_rpmh_pka.hw,
 	[RPMH_HWKM_CLK]         = &clk_rpmh_hwkm.hw,
-	[RPMH_IPA_CLK]		= &clk_rpmh_ipa.hw,
 };
 
 static const struct clk_rpmh_desc clk_rpmh_sc8280xp = {
Signature · 1 line
2.39.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

One of the ones that were recently added was already there:

drivers/clk/qcom/clk-rpmh.c:578:35: error: initialized field overwritten [-Werror=override-init]
578 | [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw,

[...]

Applied, thanks!

[1/1] clk: qcom: rpmh: remove duplicate IPA clock reference

      commit: 19aeacf505a08ae8fc1e087f9d85b7caf29b09b4

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>
Reviewed-by on v1 1/1
#2 lore raw
In reply to Arnd Bergmann
Quoted 10 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

One of the ones that were recently added was already there:

drivers/clk/qcom/clk-rpmh.c:578:35: error: initialized field overwritten [-Werror=override-init]
578 | [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw,

Fixes aa055bf158cd ("clk: qcom: rpmh: define IPA clocks where required")

---

Konrad

Quoted 15 lines
 drivers/clk/qcom/clk-rpmh.c | 1 -
 1 file changed, 1 deletion(-)
drivers/clk/qcom/clk-rpmh.c +0 -1
index 393b83f6020e..45ee370f3307 100644
@@ -575,7 +575,6 @@ static struct clk_hw *sc8280xp_rpmh_clocks[] = {
 	[RPMH_IPA_CLK]          = &clk_rpmh_ipa.hw,
 	[RPMH_PKA_CLK]          = &clk_rpmh_pka.hw,
 	[RPMH_HWKM_CLK]         = &clk_rpmh_hwkm.hw,
-	[RPMH_IPA_CLK]		= &clk_rpmh_ipa.hw,
 };
 
 static const struct clk_rpmh_desc clk_rpmh_sc8280xp = {