]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: orion: Move the register ioremap'ing to its own function
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Sat, 15 Mar 2014 18:17:56 +0000 (15:17 -0300)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 26 May 2014 20:51:43 +0000 (22:51 +0200)
commitf8c138800f55d9c8cb2bb81bb075ecd13c14d2c4
treed709962c08262ae442bd5987362d7d282381f4dd
parent4b42ba53d93846ed22ca6cb67fb40727127ed9f4
watchdog: orion: Move the register ioremap'ing to its own function

Follow-up patches will extend the registers ioremap and request
to handle SoC-specific quirks on the RSTOUT register. Therefore,
in order to keep the code readable, this commit introduces a special
function for this.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/orion_wdt.c