Re: [PATCH] clocksource: use clockevents_config_and_register() where possible

2012-11-30 Thread Maxime Ripard
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 ma

[PATCH] clocksource: use clockevents_config_and_register() where possible

2012-11-26 Thread Shawn Guo
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 posit