Re: [PATCH V2] clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init

From: Maxime Ripard
Date: Thu Nov 12 2015 - 18:31:37 EST


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@xxxxxxxxxx>

Acked-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>

Thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Attachment: signature.asc
Description: Digital signature