Tag: 1ac06563434e5f3302259608d3589bf7002431fe

watchdog: gpio_wdt: Fix missing platform_set_drvdata() in gpio_wdt_probe()

Author: Wei Yongjun <weiyj.lk@gmail.com> 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 Reviewed-by: Guenter Roeck Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck — drivers/watchdog/gpio_wdt.c | 2 ++ 1 file changed, 2 insertions(+)   diff –git a/drivers/watchdog/gpio_wdt.c b/drivers/watchdog/gpio_wdt.c index ba066e4..93457ca 100644 — …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.