clocksource/drivers/tegra: Rework for compensation of suspend time
authorJoseph Lo <josephl@nvidia.com>
Tue, 2 Apr 2019 03:02:34 +0000 (11:02 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 2 May 2019 19:55:58 +0000 (21:55 +0200)
commit95170f0708f2f499da2594b29d39ac07ea221d7a
tree71c27d5a13f3bb71c19def704c88edf4d3c02d70
parentdfc82faad72520769ca146f857e65c23632eed5a
clocksource/drivers/tegra: Rework for compensation of suspend time

Since the clocksource framework has the support for suspend time
compensation. Re-work the driver to use that, so we can reduce the
duplicate code.

Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-tegra20.c