commit | 157dfadef8323046df32caa4b39b46bf7737ca23 | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Thu Nov 12 18:05:11 2015 +0100 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Dec 15 09:42:30 2015 +0100 |
tree | 63e37f68e608661d3d91e13b8d0a06d74365e3d9 | |
parent | 05de7ed6795a1826e67fac56051f0ec23a643d38 [diff] |
clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init The current code to initialize, register and read the clocksource is already factored out in mmio.c via the clocksource_mmio_init function. The only difference is the readl vs readl_relaxed. Factor out the code with the clocksource_mmio_init function. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>