watchdog: use dev_ functions
authorAlan Cox <alan@linux.intel.com>
Fri, 11 May 2012 10:00:22 +0000 (12:00 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 30 May 2012 05:54:57 +0000 (07:54 +0200)
commit3dfd6218da4cb9d0eae596581a08de9959aa2b1f
treea0f7b4f14260a2f47fe831190ea1704d23fc548d
parentd6b469d915ae348b3bb8b25034063d6870ff4a00
watchdog: use dev_ functions

While they are registered all our watchdogs now have a valid device object
so we can in turn use that to report problems nicely.

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