aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-03-11 21:16:38 -0700
committerIngo Molnar <mingo@kernel.org>2015-03-13 08:07:07 +0100
commit3142f76022fe46f6e0a0d3940b23fb6ccb794692 (patch)
treec5e13a52e1d2caa0b9bf674ca439dad89fec777d /drivers/clocksource
parentclocksource: Mostly kill clocksource_register() (diff)
downloadlinux-dev-3142f76022fe46f6e0a0d3940b23fb6ccb794692.tar.xz
linux-dev-3142f76022fe46f6e0a0d3940b23fb6ccb794692.zip
clocksource, sparc32: Convert to using clocksource_register_hz()
While cleaning up some clocksource code, I noticed the time_32 implementation uses the clocksource_hz2mult() helper, but doesn't use the clocksource_register_hz() method. I don't believe the Sparc clocksource is a default clocksource, so we shouldn't need to self-define the mult/shift pair. So convert the time_32.c implementation to use clocksource_register_hz(). Untested. Signed-off-by: John Stultz <john.stultz@linaro.org> Acked-by: David S. Miller <davem@davemloft.net> Cc: Dave Jones <davej@codemonkey.org.uk> Cc: Linus Torvalds <torvalds@linux-foundation.org> 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-11-git-send-email-john.stultz@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions