watchdog: watchdog_dev: Rewrite wrapper code
authorHans de Goede <hdegoede@redhat.com>
Tue, 22 May 2012 09:40:26 +0000 (11:40 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 30 May 2012 05:55:17 +0000 (07:55 +0200)
commit7a87982420e5e126bfefeb42232d1fd92052794e
tree3a02096895fdd8b9c1e1903e0b578ba90ae25437
parent3dfd6218da4cb9d0eae596581a08de9959aa2b1f
watchdog: watchdog_dev: Rewrite wrapper code

Rewrite and extend the wrapper code so that we can easily introduce
locking (this to be able to prevent potential multithreading issues).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/watchdog_dev.c