diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-01-12 06:50:06 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-01-14 13:12:42 -0500 |
commit | 77cc982f6a3b33a5aa058ad3b20cda8866db2948 (patch) | |
tree | f9a4078925354e51becd8167e6c006e99ff27b11 /arch/arm/mach-msm/timer.c | |
parent | 838a2ae80a6ab52139fb1bf0a93ea8c5eff94488 (diff) |
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 <shawn.guo@linaro.org>
Cc: Andres Salomon <dilinger@queued.net>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-msm/timer.c')
0 files changed, 0 insertions, 0 deletions