Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 12 Nov 2015 15:31:29 -0800 | From | Maxime Ripard <> | Subject | Re: [PATCH V2] clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init |
| |
On Thu, Nov 12, 2015 at 07:40:13PM +0100, Daniel Lezcano wrote: > 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>
Thanks! Maxime
-- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com [unhandled content-type:application/pgp-signature] | ![\](/images/icornerr.gif) |