diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2022-02-05 13:36:10 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-02-26 03:41:39 +0300 |
commit | 08edf70457b375d2f09aaee5ba07777046293d93 (patch) | |
tree | ef943d555f2abcb77151de8be3820379155795eb | |
parent | 891b7023010cc0d62d814619b1893745d7613f7f (diff) | |
download | linux-08edf70457b375d2f09aaee5ba07777046293d93.tar.xz |
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>
-rw-r--r-- | drivers/clk/hisilicon/clk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/clk.c b/drivers/clk/hisilicon/clk.c index 9361fba7cd4c..54d9fdc93599 100644 --- 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); |