Stephen Boyd 27fdb57743 msm: timer: Use clockevents_config_and_register()
Don't open code the min/max delta logic. Use the generic
version instead. Also expand the number of bits we can handle
because there isn't anything that says we can't handle all 32
bits.

Before:
 max_delta_ns:   122880426391799
 min_delta_ns:   122070
 mult:           140737
 shift:          32

After:
 max_delta_ns:   131071523464981
 min_delta_ns:   122069
 mult:           70369
 shift:          31

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: David Brown <davidb@codeaurora.org>
2011-11-10 10:36:34 -08:00
..
2011-03-31 11:26:23 -03:00
2010-06-15 13:19:43 -07:00
2011-02-28 12:40:17 -08:00
2011-02-28 12:40:17 -08:00
2011-02-28 12:40:17 -08:00
2011-02-28 12:40:17 -08:00
2010-06-07 16:16:33 -07:00
2011-02-28 12:40:05 -08:00
2011-03-29 14:47:58 +02:00
2011-02-28 12:40:05 -08:00
2011-03-31 11:26:23 -03:00
2011-02-28 12:40:05 -08:00
2011-03-29 14:47:58 +02:00
2010-11-16 12:23:56 -08:00
2010-05-12 09:14:41 -07:00