projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
891b702
)
clk: hisilicon: Remove unnecessary cast of mux table to u32 *
author
Jonathan Neuschäfer
<j.neuschaefer@gmx.net>
Sat, 5 Feb 2022 10:36:10 +0000
(11:36 +0100)
committer
Stephen Boyd
<sboyd@kernel.org>
Sat, 26 Feb 2022 00:41:39 +0000
(16:41 -0800)
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>
drivers/clk/hisilicon/clk.c
patch
|
blob
|
history
diff --git
a/drivers/clk/hisilicon/clk.c
b/drivers/clk/hisilicon/clk.c
index 9361fba7cd4cf9ebe167c46fc989d72467e05272..54d9fdc93599079112070a24cd730c60d7121b73 100644
(file)
--- a/
drivers/clk/hisilicon/clk.c
+++ b/
drivers/clk/hisilicon/clk.c
@@
-162,7
+162,7
@@
int hisi_clk_register_mux(const struct hisi_mux_clock *clks,
clks[i].num_parents, clks[i].flags,
base + clks[i].offset, clks[i].shift,
mask, clks[i].mux_flags,
-
(u32 *)
clks[i].table, &hisi_clk_lock);
+ clks[i].table, &hisi_clk_lock);
if (IS_ERR(clk)) {
pr_err("%s: failed to register clock %s\n",
__func__, clks[i].name);