MN10300: Use clocksource_register_hz()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 18 Mar 2011 16:52:50 +0000 (16:52 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2011 16:52:50 +0000 (16:52 +0000)
commit817890ba15df44181bc9c2bf7527cb066ebae06f
treed6cf5a0e5a023894ab5fe8bdb1a64bdaf4c12f77
parent73a173a4117419892bd436e85a00a53aa22ad118
MN10300: Use clocksource_register_hz()

clocksource_register_hz() calculates the shift/mult pair for the
clocksource. Remove the mn10300 duplicate implementation.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <johnstul@us.ibm.com>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: Mark Salter <msalter@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
arch/mn10300/kernel/csrc-mn10300.c
arch/mn10300/kernel/internal.h
arch/mn10300/kernel/time.c