clocksource/drivers/orion: Read clock rate once
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 11 Mar 2017 17:42:29 +0000 (17:42 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 7 Apr 2017 14:23:03 +0000 (16:23 +0200)
commit0d9298ea37b5f590f3d10ccc2d8d34d26af3fa84
tree3f6c890b6d0fde292f02fa58caf9fde538f2b184
parent5fc63f9577322d11019b6d357f73f5ce9031f263
clocksource/drivers/orion: Read clock rate once

Rather than reading the clock rate three times, read it once - we are
about to add a fourth usage.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/time-orion.c