[PATCH] ARM: use clockevents_config_and_register() where possible
viresh kumar
viresh.kumar at linaro.org
Mon Nov 26 09:57:10 EST 2012
On Mon, Nov 26, 2012 at 7:04 PM, Shawn Guo <shawn.guo at linaro.org> 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.
>
> arch/arm/plat-spear/time.c | 8 +-------
Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
More information about the linux-arm-kernel
mailing list