mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
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>
This commit is contained in:
parent
4abb38595b
commit
7a93d49090
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user