]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitacee8e615aab73636cf5d24240585ea33cc9d607
treeafee2bd68d6f4a20406fcb00cf994d98a6f210c1
parent5651306af19686a4093db9df9f1598989258bcaa
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