From mboxrd@z Thu Jan 1 00:00:00 1970 From: jason@lakedaemon.net (Jason Cooper) Date: Sat, 12 Jan 2013 16:25:23 -0500 Subject: [PATCH v2 2/3] ARM: use clockevents_config_and_register() where possible In-Reply-To: <1357991406-22778-3-git-send-email-shawn.guo@linaro.org> References: <1357991406-22778-1-git-send-email-shawn.guo@linaro.org> <1357991406-22778-3-git-send-email-shawn.guo@linaro.org> Message-ID: <20130112212523.GD13433@titan.lakedaemon.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > Cc: Nicolas Ferre > Reviewed-by: Anton Vorontsov > Acked-by: Kukjin Kim > Cc: Russell King > Cc: Sascha Hauer > Cc: Jason Cooper > Tested-by: Roland Stigge > Acked-by: Eric Miao > Cc: Haojian Zhuang > Cc: David Brown > Tested-by: Tony Lindgren > Acked-by: Barry Song > Tested-by: Stephen Warren > Acked-by: Tony Prisk > Cc: Lennert Buytenhek > Cc: Wan ZongShun > Acked-by: Viresh Kumar > Acked-by: Arnd Bergmann > --- ... > arch/arm/plat-orion/time.c | 6 +----- ... Acked-by: Jason Cooper thx, Jason.