* [PATCH] clocksource/timer-mediatek: Remove unnecessary (void*) conversions
@ 2022-08-09 2:42 Li zeming
0 siblings, 0 replies; only message in thread
From: Li zeming @ 2022-08-09 2:42 UTC (permalink / raw)
To: daniel.lezcano, tglx, matthias.bgg
Cc: linux-kernel, linux-arm-kernel, linux-mediatek, Li zeming
Remove unnecessary void* type castings.
Signed-off-by: Li zeming <zeming@nfschina.com>
---
drivers/clocksource/timer-mediatek.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/timer-mediatek.c b/drivers/clocksource/timer-mediatek.c
index d5b29fd03ca2..35e08c329d8e 100644
--- a/drivers/clocksource/timer-mediatek.c
+++ b/drivers/clocksource/timer-mediatek.c
@@ -264,7 +264,7 @@ static int mtk_gpt_clkevt_next_event(unsigned long event,
static irqreturn_t mtk_gpt_interrupt(int irq, void *dev_id)
{
- struct clock_event_device *clkevt = (struct clock_event_device *)dev_id;
+ struct clock_event_device *clkevt = dev_id;
struct timer_of *to = to_timer_of(clkevt);
/* Acknowledge timer0 irq */
--
2.18.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-09 2:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 2:42 [PATCH] clocksource/timer-mediatek: Remove unnecessary (void*) conversions Li zeming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®