mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] clocksource/drivers/sun4i: remove unnecessary (void*) conversions
@ 2022-07-20  2:07 XU pengfei
  2022-07-20 14:42 ` Daniel Lezcano
  2022-07-28 10:44 ` [tip: timers/core] clocksource/drivers/sun4i: Remove " tip-bot2 for XU pengfei
  0 siblings, 2 replies; 3+ messages in thread
From: XU pengfei @ 2022-07-20  2:07 UTC (permalink / raw)
  To: daniel.lezcano, tglx, wens, jernej.skrabec, samuel
  Cc: linux-kernel, linux-arm-kernel, linux-sunxi, XU pengfei

remove unnecessary void* type casting.

Signed-off-by: XU pengfei <xupengfei@nfschina.com>
---
 drivers/clocksource/timer-sun4i.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/timer-sun4i.c b/drivers/clocksource/timer-sun4i.c
index bb6ea6c19829..94dc6e42e983 100644
--- a/drivers/clocksource/timer-sun4i.c
+++ b/drivers/clocksource/timer-sun4i.c
@@ -128,7 +128,7 @@ static void sun4i_timer_clear_interrupt(void __iomem *base)
 
 static irqreturn_t sun4i_timer_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);
 
 	sun4i_timer_clear_interrupt(timer_of_base(to));
-- 
2.18.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-28 10:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-20  2:07 [PATCH 1/1] clocksource/drivers/sun4i: remove unnecessary (void*) conversions XU pengfei
2022-07-20 14:42 ` Daniel Lezcano
2022-07-28 10:44 ` [tip: timers/core] clocksource/drivers/sun4i: Remove " tip-bot2 for XU pengfei

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®