commit | 1ac06563434e5f3302259608d3589bf7002431fe | [log] [tgz] |
---|---|---|
author | Wei Yongjun <[email protected]> | Tue Jul 26 14:50:14 2016 +0000 |
committer | Wim Van Sebroeck <[email protected]> | Wed Jul 27 10:47:43 2016 +0200 |
tree | 0d3f8c110403103a2023386e2e397c50a0a93fec | |
parent | 3c10bbde10fe4dca52726e246cefa6b0a1dfbd3e [diff] |
watchdog: gpio_wdt: Fix missing platform_set_drvdata() in gpio_wdt_probe() Add missing platform_set_drvdata() in gpio_wdt_probe(), otherwise calling platform_get_drvdata() in remove returns NULL. This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>