clocksource/drivers/timer-ti-dm: Fix warning for set but not used
authorTony Lindgren <tony@atomide.com>
Tue, 19 May 2020 15:51:57 +0000 (08:51 -0700)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 22 May 2020 22:01:05 +0000 (00:01 +0200)
commitc177e2975430cec296aa52a0d413e447417d6cf9
tree471883607c5ac803ac49125f8bb604b55a7d292c
parent52762fbd1c4778ac9b173624ca0faacd22ef4724
clocksource/drivers/timer-ti-dm: Fix warning for set but not used

We can get a warning for dmtimer_clocksource_init() with 'pa' set but
not used. This was used in the earlier revisions of the code but no
longer needed, so let's remove the unused pa and of_translate_address().
Let's also do it for dmtimer_clockevent_init() that has a similar issue.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200519155157.12804-1-tony@atomide.com
drivers/clocksource/timer-ti-dm-systimer.c