[PATCH v2 2/3] ARM: use clockevents_config_and_register() where possible

Jason Cooper jason at lakedaemon.net
Sat Jan 12 16:25:23 EST 2013


On Sat, Jan 12, 2013 at 07:50:05PM +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>
> Cc: Nicolas Ferre <nicolas.ferre at atmel.com>
> Reviewed-by: Anton Vorontsov <cbouatmailru at gmail.com>
> Acked-by: Kukjin Kim <kgene.kim at samsung.com>
> Cc: Russell King <linux at arm.linux.org.uk>
> Cc: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Jason Cooper <jason at lakedaemon.net>
> Tested-by: Roland Stigge <stigge at antcom.de>
> Acked-by: Eric Miao <eric.y.miao at gmail.com>
> Cc: Haojian Zhuang <haojian.zhuang at gmail.com>
> Cc: David Brown <davidb at codeaurora.org>
> Tested-by: Tony Lindgren <tony at atomide.com>
> Acked-by: Barry Song <baohua.song at csr.com>
> Tested-by: Stephen Warren <swarren at nvidia.com>
> Acked-by: Tony Prisk <linux at prisktech.co.nz>
> Cc: Lennert Buytenhek <buytenh at wantstofly.org>
> Cc: Wan ZongShun <mcuos.com at gmail.com>
> Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
> Acked-by: Arnd Bergmann <arnd at arndb.de>
> ---
...
>  arch/arm/plat-orion/time.c               |    6 +-----
...

Acked-by: Jason Cooper <jason at lakedaemon.net>

thx,

Jason.



More information about the linux-arm-kernel mailing list