clocksource/drivers/timer-imx-tpm: Convert the driver to timer-of
authorAnson Huang <anson.huang@nxp.com>
Tue, 6 Nov 2018 05:15:58 +0000 (05:15 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 18 Dec 2018 21:22:23 +0000 (22:22 +0100)
commit3825603a8076738d95b430d36896a760d7fc4909
treeb69e50c0b1d05a1d6e1f83fc60b2d1b6de87f0d6
parentbf287607c80f24387fedb431a346dc67f25be12c
clocksource/drivers/timer-imx-tpm: Convert the driver to timer-of

Convert the driver to use the timer_of helpers.  This allows to handle
timer base, clock and irq using common timer_of driver and it
simplifies the code.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-imx-tpm.c