clocksource: armada-370-xp: Use atomic access for shared registers
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 19 Feb 2014 20:05:26 +0000 (17:05 -0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 11 Mar 2014 22:05:05 +0000 (23:05 +0100)
commitc8af34b4dbc211f1e08a7ea513dc399046825866
treec41d244fac5ea714367945f2b67053f8f06a7a73
parent0a54a069585bb875d37494c434f36a19bcc05df9
clocksource: armada-370-xp: Use atomic access for shared registers

Replace the driver-specific thread-safe shared register API
by the recently introduced atomic_io_clear_set().

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/time-armada-370-xp.c