From: Ezequiel Garcia Date: Tue, 13 Aug 2013 14:43:11 +0000 (-0300) Subject: clocksource: armada-370-xp: Simplify TIMER_CTRL register access X-Git-Tag: v3.12-rc1~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3579698e85ef9984e698ac3d8e2257a1adeeb722;p=pandora-kernel.git clocksource: armada-370-xp: Simplify TIMER_CTRL register access This commit creates two functions to access the TIMER_CTRL register: one for global one for the per-cpu. This makes the code much more readable. In addition, since the TIMER_CTRL register is also used for watchdog, this is preparation work for future thread-safe improvements. Acked-by: Gregory CLEMENT Reviewed-by: Andrew Lunn Signed-off-by: Ezequiel Garcia Signed-off-by: Daniel Lezcano --- Reading git-diff-tree failed