watchdog: qcom-wdt: Do not set 'dev' in struct watchdog_device
authorGuenter Roeck <linux@roeck-us.net>
Thu, 24 Dec 2015 22:22:04 +0000 (14:22 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 28 Dec 2015 22:04:08 +0000 (23:04 +0100)
commit0933b453f1c7104d873aacf8524f8ac380a7ed08
tree81b6a68e32ba7387051b9ee270bfbee1130751b1
parent073523662a821940383eb3bf4064c41b0e3dae0d
watchdog: qcom-wdt: Do not set 'dev' in struct watchdog_device

The 'dev' pointer in struct watchdog_device is set by the watchdog core
when registering the watchdog device and not by the driver. It points to
the watchdog device, not its parent.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/qcom-wdt.c