clocksource: atmel-st: use syscon/regmap
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 12 Mar 2015 12:07:32 +0000 (13:07 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 16 Mar 2015 16:03:06 +0000 (17:03 +0100)
commitadf2edfd6003c401ae52a360e0e67abc7deeb952
tree8e9e0fd79fa932d18928ed0d51787fd3184e2e0a
parentb53cdd03222391f76e82cd0c7d040816c919ab75
clocksource: atmel-st: use syscon/regmap

The register range from the system timer is also used by the watchdog driver.
Use a regmap to handle concurrent accesses.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/clocksource/timer-atmel-st.c