提交 7a93d490 编写于 作者: X XU pengfei 提交者: Daniel Lezcano

clocksource/drivers/sun4i: Remove unnecessary (void*) conversions

Remove unnecessary void* type casting.
Signed-off-by: NXU pengfei <xupengfei@nfschina.com>
Link: https://lore.kernel.org/r/20220720020735.3771-1-xupengfei@nfschina.comSigned-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
上级 4abb3859
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部