From: Shawn Guo Date: Sat, 12 Jan 2013 11:50:06 +0000 (+0000) Subject: clocksource: use clockevents_config_and_register() where possible X-Git-Tag: v3.9-rc1~122^2~29^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77cc982f6a3b33a5aa058ad3b20cda8866db2948;p=pandora-kernel.git 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 Cc: Andres Salomon Cc: Nicolas Ferre Acked-by: Maxime Ripard Acked-by: Arnd Bergmann Reviewed-by: Thomas Gleixner Signed-off-by: Olof Johansson --- Reading git-diff-tree failed