watchdog: iTCO_wdt: Fix the parent device
authorJean Delvare <jdelvare@suse.de>
Mon, 10 Mar 2014 20:28:17 +0000 (21:28 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:34:13 +0000 (13:34 +0200)
commitc90789baa8cec363093c5ec292c989b6f22d8f32
tree279e9ca8b5dff4ffe59edd1d9293605a86371602
parent0bcd0b6a47431d9895dc2dd6a8c4185008849131
watchdog: iTCO_wdt: Fix the parent device

The watchdog's parent is iTCO_wdt (the platform device) not lpc_ich
(the PCI device.) Setting the parent right makes it much easier for
the user to figure out which driver/module is handling the watchdog
device node.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/iTCO_wdt.c