clocksource: use clockevents_config_and_register() where possible
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 <[email protected]>
Cc: Andres Salomon <[email protected]>
Cc: Nicolas Ferre <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>