[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220809083636.3789-1-lvqian@nfschina.com>
Date: Tue, 9 Aug 2022 16:36:36 +0800
From: Lv qian <lvqian@...china.com>
To: avifishman70@...il.com, tali.perry1@...il.com, venture@...gle.com,
yuenn@...gle.com, benjaminfair@...gle.com,
daniel.lezcano@...aro.org, tglx@...utronix.de
Cc: openbmc@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Lv qian <lvqian@...china.com>
Subject: [PATCH] clocksource/timer-npcm7xx: Remove unnecessary (void*) conversions
Remove unnecessary (void*) conversions
Signed-off-by: Lv qian <lvqian@...china.com>
---
drivers/clocksource/timer-npcm7xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/timer-npcm7xx.c b/drivers/clocksource/timer-npcm7xx.c
index a00520cbb660..cc420309d283 100644
--- a/drivers/clocksource/timer-npcm7xx.c
+++ b/drivers/clocksource/timer-npcm7xx.c
@@ -121,7 +121,7 @@ static int npcm7xx_clockevent_set_next_event(unsigned long evt,
static irqreturn_t npcm7xx_timer0_interrupt(int irq, void *dev_id)
{
- struct clock_event_device *evt = (struct clock_event_device *)dev_id;
+ struct clock_event_device *evt = dev_id;
struct timer_of *to = to_timer_of(evt);
writel(NPCM7XX_T0_CLR_INT, timer_of_base(to) + NPCM7XX_REG_TISR);
--
2.18.2
Powered by blists - more mailing lists