mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
clocksource/drivers/sun5i: Remove unnecessary (void*) conversions
Remove unnecessary void* type castings. Signed-off-by: Li zeming <zeming@nfschina.com> Link: https://lore.kernel.org/r/20220727083751.5540-1-zeming@nfschina.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:
parent
c329fb5318
commit
148399c90e
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ static int sun5i_clkevt_next_event(unsigned long evt,
|
||||||
|
|
||||||
static irqreturn_t sun5i_timer_interrupt(int irq, void *dev_id)
|
static irqreturn_t sun5i_timer_interrupt(int irq, void *dev_id)
|
||||||
{
|
{
|
||||||
struct sun5i_timer_clkevt *ce = (struct sun5i_timer_clkevt *)dev_id;
|
struct sun5i_timer_clkevt *ce = dev_id;
|
||||||
|
|
||||||
writel(0x1, ce->timer.base + TIMER_IRQ_ST_REG);
|
writel(0x1, ce->timer.base + TIMER_IRQ_ST_REG);
|
||||||
ce->clkevt.event_handler(&ce->clkevt);
|
ce->clkevt.event_handler(&ce->clkevt);
|
||||||
|
|
Loading…
Reference in a new issue