Skip to content

Commit 7a93d49

Browse files
xupf1dlezcano
authored andcommitted
clocksource/drivers/sun4i: Remove unnecessary (void*) conversions
Remove unnecessary void* type casting. Signed-off-by: XU pengfei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 4abb385 commit 7a93d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clocksource/timer-sun4i.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static void sun4i_timer_clear_interrupt(void __iomem *base)
128128

129129
static irqreturn_t sun4i_timer_interrupt(int irq, void *dev_id)
130130
{
131-
struct clock_event_device *evt = (struct clock_event_device *)dev_id;
131+
struct clock_event_device *evt = dev_id;
132132
struct timer_of *to = to_timer_of(evt);
133133

134134
sun4i_timer_clear_interrupt(timer_of_base(to));

0 commit comments

Comments
 (0)