clocksource/drivers/tegra: Drop unneeded typecasting in one place
There is no need to cast void because kernel allows to do that without a warning message from a compiler. Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:
parent
09b2507fbf
commit
7c708fda79
|
@ -83,7 +83,7 @@ static int tegra_timer_set_periodic(struct clock_event_device *evt)
|
|||
|
||||
static irqreturn_t tegra_timer_isr(int irq, void *dev_id)
|
||||
{
|
||||
struct clock_event_device *evt = (struct clock_event_device *)dev_id;
|
||||
struct clock_event_device *evt = dev_id;
|
||||
void __iomem *reg_base = timer_of_base(to_timer_of(evt));
|
||||
|
||||
writel_relaxed(TIMER_PCR_INTR_CLR, reg_base + TIMER_PCR);
|
||||
|
|
Loading…
Reference in New Issue
Block a user