Skip to content

Commit 08edf70

Browse files
neuschaeferbebarino
authored andcommitted
clk: hisilicon: Remove unnecessary cast of mux table to u32 *
Now that clk_register_mux_table takes a const u32 *, we don't need the cast anymore. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Link: https://lore.kernel.org/r/20220205103613.1216218-5-j.neuschaefer@gmx.net Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 891b702 commit 08edf70

File tree

1 file changed

+1
-1
lines changed
  • drivers/clk/hisilicon

1 file changed

+1
-1
lines changed

drivers/clk/hisilicon/clk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ int hisi_clk_register_mux(const struct hisi_mux_clock *clks,
162162
clks[i].num_parents, clks[i].flags,
163163
base + clks[i].offset, clks[i].shift,
164164
mask, clks[i].mux_flags,
165-
(u32 *)clks[i].table, &hisi_clk_lock);
165+
clks[i].table, &hisi_clk_lock);
166166
if (IS_ERR(clk)) {
167167
pr_err("%s: failed to register clock %s\n",
168168
__func__, clks[i].name);

0 commit comments

Comments
 (0)