summaryrefslogtreecommitdiff
path: root/drivers/vme/vme.c
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2013-06-17 02:07:03 +0400
committerTomasz Figa <tomasz.figa@gmail.com>2013-08-06 03:21:42 +0400
commit61d7e2056eb6147824a8689c6e6ab62396e26321 (patch)
treedd90bd05b9d577050e81f0517db00672bc04a1fd /drivers/vme/vme.c
parentceea124103c6f00561491b45133be5ccefc8ea1d (diff)
downloadlinux-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