Skip to content

Commit 5ae7899

Browse files
arndbandersson
authored andcommitted
clk: qcom: gcc-ipq6018: remove duplicate initializers
A recent change added new initializers for .config_ctl_val and .config_ctl_hi_val but left the old values in place: drivers/clk/qcom/gcc-ipq6018.c:4155:27: error: initialized field overwritten [-Werror=override-init] 4155 | .config_ctl_val = 0x240d4828, | ^~~~~~~~~~ drivers/clk/qcom/gcc-ipq6018.c:4156:30: error: initialized field overwritten [-Werror=override-init] 4156 | .config_ctl_hi_val = 0x6, | ^~~ Remove the unused ones now to avoid confusion. Fixes: f4f0c8a ("clk: qcom: gcc-ipq6018: update UBI32 PLL") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Robert Marko <robimarko@gmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230601213416.3373599-1-arnd@kernel.org
1 parent f6b2bd9 commit 5ae7899

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/clk/qcom/gcc-ipq6018.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4150,8 +4150,6 @@ static struct clk_branch gcc_dcc_clk = {
41504150
static const struct alpha_pll_config ubi32_pll_config = {
41514151
.l = 0x3e,
41524152
.alpha = 0x6667,
4153-
.config_ctl_val = 0x240d6aa8,
4154-
.config_ctl_hi_val = 0x3c2,
41554153
.config_ctl_val = 0x240d4828,
41564154
.config_ctl_hi_val = 0x6,
41574155
.main_output_mask = BIT(0),

0 commit comments

Comments
 (0)