diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-11-12 20:05:11 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-12-15 11:42:30 +0300 |
commit | 157dfadef8323046df32caa4b39b46bf7737ca23 (patch) | |
tree | 63e37f68e608661d3d91e13b8d0a06d74365e3d9 /arch/h8300 | |
parent | 05de7ed6795a1826e67fac56051f0ec23a643d38 (diff) | |
download | linux-157dfadef8323046df32caa4b39b46bf7737ca23.tar.xz |
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>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions