watchdog: iTCO_wdt: Fix the parent device
authorJean Delvare <jdelvare@suse.de>
Wed, 5 Nov 2014 01:39:21 +0000 (09:39 +0800)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:25:30 +0000 (09:25 +0900)
commit3f24140ff66ec61af497d4fb6d9bae0d9ebf2aca
tree55fec0e9cf6384d3ec3fd76e2841b7f6c1973ae1
parentd1e708b5bd06ab415df0f3f1259020a7759d7934
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>
(cherry picked from commit c90789baa8cec363093c5ec292c989b6f22d8f32)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
drivers/watchdog/iTCO_wdt.c