mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
073523662a
commit
0933b453f1
1 changed files with 0 additions and 1 deletions
|
|
@ -164,7 +164,6 @@ static int qcom_wdt_probe(struct platform_device *pdev)
|
|||
goto err_clk_unprepare;
|
||||
}
|
||||
|
||||
wdt->wdd.dev = &pdev->dev;
|
||||
wdt->wdd.info = &qcom_wdt_info;
|
||||
wdt->wdd.ops = &qcom_wdt_ops;
|
||||
wdt->wdd.min_timeout = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue