]> git.baikalelectronics.ru Git - kernel.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>
Tue, 10 Jun 2014 19:43:54 +0000 (21:43 +0200)
commitc478ff9d69a7b5ecfbe95347647f6aee3bd3ed13
tree9aa06c2fb1f5e21a71d3585c3e3dcd48fadb161a
parent01e1c90fda894bfb73253de4022dad7fd619f423
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