John Stultz f8935983f1 clocksource: Mostly kill clocksource_register()
A long running project has been to clean up remaining uses
of clocksource_register(), replacing it with the simpler
clocksource_register_khz/hz() functions.

However, there are a few cases where we need to self-define
our mult/shift values, so switch the function to a more
obviously internal __clocksource_register() name, and
consolidate much of the internal logic so we don't have
duplication.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: David S. Miller <davem@davemloft.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1426133800-29329-10-git-send-email-john.stultz@linaro.org
[ Minor cleanups. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-03-13 08:07:06 +01:00
..
2014-05-18 19:01:30 -07:00
2014-05-18 19:01:29 -07:00
2014-09-16 18:26:40 -07:00
2014-09-16 18:26:40 -07:00
2014-05-18 19:01:31 -07:00
2014-10-05 16:53:40 -07:00
2014-08-26 13:45:55 -04:00
2014-05-02 01:30:21 -04:00
2014-05-18 19:01:29 -07:00
2014-08-26 13:45:55 -04:00
2014-12-14 16:10:09 -08:00
2014-05-18 19:01:27 -07:00
2014-09-16 18:26:40 -07:00
2013-06-13 22:12:14 +01:00
2014-08-26 13:45:55 -04:00
2014-07-21 22:27:56 -07:00
2014-12-13 12:42:51 -08:00
2014-09-30 14:17:08 -07:00