Skip to contentSkip to conversation

watchdog: gef_wdt.c: add missing remove callback

PATCH Superseded Devendra Naga 2 participants 2 messages Nov 2, 2012 – Jan 30, 2013 Watchdog device drivers

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: gef_wdt.c: add missing remove callback

this module missed a remove callback in the platform ops.

---
Hi,

I didn't compile it even, i didn't have any crosstoolchain

 drivers/watchdog/gef_wdt.c |    1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/gef_wdt.c +1 -0
index 17f4cae..3e360ed 100644
@@ -310,6 +310,7 @@ static struct platform_driver gef_wdt_driver = {
 		.of_match_table = gef_wdt_ids,
 	},
 	.probe		= gef_wdt_probe,
+	.remove		= gef_wdt_remove,
 };
 
 static int __init gef_wdt_init(void)
Signature · 1 line
1.7.10.4
#1 lore raw

Hi

Quoted 16 lines

this module missed a remove callback in the platform ops.

---
Hi,

I didn't compile it even, i didn't have any crosstoolchain

 drivers/watchdog/gef_wdt.c |    1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/gef_wdt.c +0 -0
index 17f4cae..3e360ed 100644

drivers/watchdog/gef_wdt.c static struct platform_driver gef_wdt_driver = { · line 316

Quoted 7 lines
drivers/watchdog/gef_wdt.c +1 -0
@@ -310,6 +310,7 @@ static struct platform_driver gef_wdt_driver = {
 		.of_match_table = gef_wdt_ids,
 	},
 	.probe		= gef_wdt_probe,
+	.remove		= gef_wdt_remove,
 };
 
 static int __init gef_wdt_init(void)

Added to linux-watchdog-next.

Kind regards,
Wim.