Commit 5b1a1c1a authored by Yu Zhe's avatar Yu Zhe Committed by Stephen Boyd

clk: remove unnecessary (void*) conversions

Pointer variables of void * type do not require type cast.
Signed-off-by: default avatarYu Zhe <yuzhe@nfschina.com>
Link: https://lore.kernel.org/r/20230316075826.22754-1-yuzhe@nfschina.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 1bd8e27f
...@@ -3194,7 +3194,7 @@ static void clk_summary_show_subtree(struct seq_file *s, struct clk_core *c, ...@@ -3194,7 +3194,7 @@ static void clk_summary_show_subtree(struct seq_file *s, struct clk_core *c,
static int clk_summary_show(struct seq_file *s, void *data) static int clk_summary_show(struct seq_file *s, void *data)
{ {
struct clk_core *c; struct clk_core *c;
struct hlist_head **lists = (struct hlist_head **)s->private; struct hlist_head **lists = s->private;
seq_puts(s, " enable prepare protect duty hardware\n"); seq_puts(s, " enable prepare protect duty hardware\n");
seq_puts(s, " clock count count count rate accuracy phase cycle enable\n"); seq_puts(s, " clock count count count rate accuracy phase cycle enable\n");
...@@ -3253,7 +3253,7 @@ static int clk_dump_show(struct seq_file *s, void *data) ...@@ -3253,7 +3253,7 @@ static int clk_dump_show(struct seq_file *s, void *data)
{ {
struct clk_core *c; struct clk_core *c;
bool first_node = true; bool first_node = true;
struct hlist_head **lists = (struct hlist_head **)s->private; struct hlist_head **lists = s->private;
seq_putc(s, '{'); seq_putc(s, '{');
clk_prepare_lock(); clk_prepare_lock();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment