clocksource/drivers/timer-ti-dm: Move inline functions to driver for am6
authorTony Lindgren <tony@atomide.com>
Fri, 8 Apr 2022 10:17:13 +0000 (13:17 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 27 Jul 2022 15:00:48 +0000 (17:00 +0200)
commit41e79b1d458477212d0a880c87622bcaa69ab3ea
tree6010765c7e7f4ea1eb6374191c734a34a7fba314
parentaa84506ea644d0952a75136dee7386cc54b234b0
clocksource/drivers/timer-ti-dm: Move inline functions to driver for am6

The __omap_dm_timer_* inline functions in the header are no longer needed
outside the driver, and the header ifdefs prevent the driver working for
ARCH_K3.

Let's move the inline functions to the driver and drop the ifdefs and
drop the unused functions __omap_dm_timer_override_errata() and
__omap_dm_timer_load_start().

Cc: Keerthy <j-keerthy@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20220408101715.43697-2-tony@atomide.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-ti-dm.c
include/clocksource/timer-ti-dm.h