watchdog: WatchDog Timer Driver Core - use passed watchdog_device
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 3 Aug 2011 22:38:20 +0000 (15:38 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 20 Sep 2011 12:22:28 +0000 (14:22 +0200)
commitcb7efc02c6dbc3bfe9d5d1509ed790fc757e05a9
treeafee2bd68d6f4a20406fcb00cf994d98a6f210c1
parent9d037a777695993ec7437e5f451647dea7919d4c
watchdog: WatchDog Timer Driver Core - use passed watchdog_device

Use the passed watchdog_device instead of the static global variable when
testing and setting the status in watchdog_ping, watchdog_start, and
watchdog_stop.  Note that the callers of these functions are actually
passing the static global variable.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/watchdog_dev.c