aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorGravatar Wei Yongjun <weiyj.lk@gmail.com> 2016-07-26 14:50:14 +0000
committerGravatar Wim Van Sebroeck <wim@iguana.be> 2016-07-27 10:47:43 +0200
commit1ac06563434e5f3302259608d3589bf7002431fe (patch)
tree0d3f8c110403103a2023386e2e397c50a0a93fec /drivers/platform
parentwatchdog: core: Clear WDOG_HW_RUNNING before calling the stop function (diff)
downloadlinux-1ac06563434e5f3302259608d3589bf7002431fe.tar.gz
linux-1ac06563434e5f3302259608d3589bf7002431fe.tar.bz2
linux-1ac06563434e5f3302259608d3589bf7002431fe.zip
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 <weiyj.lk@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions