clocksource/drivers/timer-ti-dm: Simplify register access further
authorTony Lindgren <tony@atomide.com>
Mon, 15 Aug 2022 13:12:45 +0000 (16:12 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 20 Sep 2022 08:49:45 +0000 (10:49 +0200)
commitf32bdac10cb5f461f8c71c3b9703617c42322d2f
tree244a063b100f103f08854dc81f902707d423ab89
parent49cd16bb573e43dc2ee64d734b9b545475dbb35f
clocksource/drivers/timer-ti-dm: Simplify register access further

Let's unify register access and use dmtimer_read() and dmtimer_write()
also for the timer revision specific registers like we now do for the
shread registers.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Link: https://lore.kernel.org/r/20220815131250.34603-5-tony@atomide.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-ti-dm.c
include/clocksource/timer-ti-dm.h