clocksource/drivers/tcb_clksrc: Fix clock speed message
authorRomain Izard <romain.izard.pro@gmail.com>
Mon, 8 Jan 2018 13:28:43 +0000 (14:28 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 8 Jan 2018 16:57:23 +0000 (17:57 +0100)
commit542f824607a6968ea443208ccfef3b7daf503559
tree8d8e32e754de414b8f1dc4c37e4c520cc8e637ea
parent0ec5477c3e0e86b3b2750d82355af422a468dc46
clocksource/drivers/tcb_clksrc: Fix clock speed message

The clock speed displayed at boot in an information message was 500 kHz
too high compared to its real value. As the value is not used anywhere,
there is no functional impact.

Fix the rounding formula to display the correct value.

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1515418139-23276-4-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/clocksource/tcb_clksrc.c