diff options
author | XU pengfei | 2022-07-20 10:07:35 +0800 |
---|---|---|
committer | Daniel Lezcano | 2022-07-27 17:01:52 +0200 |
commit | 7a93d490900edcdbd3833d8bb9a01b23d8bb461e (patch) | |
tree | e82597c531a3ef444a018c82d2d9d72d4ee8728f /drivers/clocksource | |
parent | 4abb38595b1b116bd1440c76c69c9f0416ec55a4 (diff) |
clocksource/drivers/sun4i: Remove unnecessary (void*) conversions
Remove unnecessary void* type casting.
Signed-off-by: XU pengfei <xupengfei@nfschina.com>
Link: https://lore.kernel.org/r/20220720020735.3771-1-xupengfei@nfschina.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/timer-sun4i.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |