[WATCHDOG] orion5x_wdt: Add shutdown callback, use watchdog ping function
authorThomas Reitmayr <treitmayr@devbase.at>
Fri, 20 Feb 2009 18:44:59 +0000 (19:44 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 8 Apr 2009 06:09:01 +0000 (06:09 +0000)
commitdf6707b2190495037a1c8bb5b6f7756b4b9b73ac
tree1443e6ec184182c450cf2d45a316eea3867f5c36
parentfc8a9d830fdbc72545187a42f8d71b9fa95764dd
[WATCHDOG] orion5x_wdt: Add shutdown callback, use watchdog ping function

* Added a callback to disable the watchdog on shutdown.
* Use a separate ping function to reduce the number of register accesses
  if the watchdog is already enabled and just needs to be reloaded.
* Minor cleanup of function names.

Signed-off-by: Thomas Reitmayr <treitmayr@devbase.at>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/orion5x_wdt.c