Skip to content

Commit 5b1a1c1

Browse files
yuzhenfschinabebarino
authored andcommitted
clk: remove unnecessary (void*) conversions
Pointer variables of void * type do not require type cast. Signed-off-by: Yu Zhe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 1bd8e27 commit 5b1a1c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/clk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3194,7 +3194,7 @@ static void clk_summary_show_subtree(struct seq_file *s, struct clk_core *c,
31943194
static int clk_summary_show(struct seq_file *s, void *data)
31953195
{
31963196
struct clk_core *c;
3197-
struct hlist_head **lists = (struct hlist_head **)s->private;
3197+
struct hlist_head **lists = s->private;
31983198

31993199
seq_puts(s, " enable prepare protect duty hardware\n");
32003200
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)
32533253
{
32543254
struct clk_core *c;
32553255
bool first_node = true;
3256-
struct hlist_head **lists = (struct hlist_head **)s->private;
3256+
struct hlist_head **lists = s->private;
32573257

32583258
seq_putc(s, '{');
32593259
clk_prepare_lock();

0 commit comments

Comments
 (0)