diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2013-06-17 02:07:03 +0400 |
---|---|---|
committer | Tomasz Figa <tomasz.figa@gmail.com> | 2013-08-06 03:21:42 +0400 |
commit | 61d7e2056eb6147824a8689c6e6ab62396e26321 (patch) | |
tree | dd90bd05b9d577050e81f0517db00672bc04a1fd /drivers/vme/vme.c | |
parent | ceea124103c6f00561491b45133be5ccefc8ea1d (diff) | |
download | linux-61d7e2056eb6147824a8689c6e6ab62396e26321.tar.xz |
clocksource: samsung_pwm_timer: Cache clocksource register address
Instead of calculating register every time the timer should be read,
we can just do it one time at initialization and store the address in
driver data.
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Mark Brown <broonie@linaro.org>
Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/vme/vme.c')
0 files changed, 0 insertions, 0 deletions