Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jonathan Neuschäfer and committed by
Stephen Boyd
08edf704 891b7023

+1 -1
+1 -1
drivers/clk/hisilicon/clk.c
··· 162 162 clks[i].num_parents, clks[i].flags, 163 163 base + clks[i].offset, clks[i].shift, 164 164 mask, clks[i].mux_flags, 165 - (u32 *)clks[i].table, &hisi_clk_lock); 165 + clks[i].table, &hisi_clk_lock); 166 166 if (IS_ERR(clk)) { 167 167 pr_err("%s: failed to register clock %s\n", 168 168 __func__, clks[i].name);