[PATCH] ARM: use clockevents_config_and_register() where possible

Anton Vorontsov anton.vorontsov at linaro.org
Mon Nov 26 20:19:49 EST 2012


On Mon, Nov 26, 2012 at 09:34:17PM +0800, Shawn Guo wrote:
> The clockevent core is able to figure out the best mult and shift,
> calculate min_delta_ns and max_delta_ns, with the necessary info passed
> into clockevents_config_and_register().  Use this combined configure
> and register function where possible to make the codes less error prone
> and gain some positive diff stat.
> 
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> ---
>  arch/arm/mach-at91/at91rm9200_time.c     |    7 ++-----
>  arch/arm/mach-cns3xxx/core.c             |   13 +++----------

I no longer have an access to cns3xxx, but it looks good:

Reviewed-by: Anton Vorontsov <cbouatmailru at gmail.com>

Thanks,
Anton.



More information about the linux-arm-kernel mailing list