[PATCH] clocksource: use clockevents_config_and_register() where possible

Maxime Ripard maxime.ripard at free-electrons.com
Fri Nov 30 11:59:25 EST 2012


Le 26/11/2012 14:31, Shawn Guo a écrit :
> 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>

Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Maxime

-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list