watchdog: iTCO_wdt: Fix the parent device upstream v3.14.28+ltsi
authorJean Delvare <jdelvare@suse.de>
Wed, 5 Nov 2014 01:39:21 +0000 (09:39 +0800)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:16:28 +0000 (11:16 +0100)
commit3edfcbf0ac152990796bd6de75d88db123eca1a3
tree7c7e0442741c38ed34d8169ac8491f698b44b3b7
parent969fddf2181640b190eefa4b6885e4e080b7da83
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