[PATCH V2] clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init
Maxime Ripard
maxime.ripard at free-electrons.com
Thu Nov 12 15:31:29 PST 2015
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 at linaro.org>
Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151112/b84f0cd4/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list