Skip to content

Commit 148399c

Browse files
Li zemingdlezcano
authored andcommitted
clocksource/drivers/sun5i: Remove unnecessary (void*) conversions
Remove unnecessary void* type castings. Signed-off-by: Li zeming <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent c329fb5 commit 148399c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clocksource/timer-sun5i.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ static int sun5i_clkevt_next_event(unsigned long evt,
142142

143143
static irqreturn_t sun5i_timer_interrupt(int irq, void *dev_id)
144144
{
145-
struct sun5i_timer_clkevt *ce = (struct sun5i_timer_clkevt *)dev_id;
145+
struct sun5i_timer_clkevt *ce = dev_id;
146146

147147
writel(0x1, ce->timer.base + TIMER_IRQ_ST_REG);
148148
ce->clkevt.event_handler(&ce->clkevt);

0 commit comments

Comments
 (0)