mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue