aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFlorian Fainelli <florian.fainelli@telecomint.eu>2007-10-17 09:42:22 -0400
committerWim Van Sebroeck <wim@iguana.be>2007-10-25 04:36:20 -0400
commitbb0a38d8915b568a012888082dce731092b9803e (patch)
tree8cb7aa520d4096c56116254de97a4df4f33fb722 /drivers
parentc9927c2bf4f45bb85e8b502ab3fb79ad6483c244 (diff)
[WATCHDOG] trivial fix two returns in void functions
This patch fixes two returns in the TI Davinci and PNX4008 in void functions. Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/watchdog/davinci_wdt.c2
-rw-r--r--drivers/watchdog/pnx4008_wdt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/davinci_wdt.c b/drivers/watchdog/davinci_wdt.c
index 19db5302ba6e..e49a36c0d4d6 100644
--- a/drivers/watchdog/davinci_wdt.c
+++ b/drivers/watchdog/davinci_wdt.c
@@ -262,7 +262,7 @@ static int __init davinci_wdt_init(void)
262 262
263static void __exit davinci_wdt_exit(void) 263static void __exit davinci_wdt_exit(void)
264{ 264{
265 return platform_driver_unregister(&platform_wdt_driver); 265 platform_driver_unregister(&platform_wdt_driver);
266} 266}
267 267
268module_init(davinci_wdt_init); 268module_init(davinci_wdt_init);
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c
index 22f8873dd092..b0eb9f9b43c7 100644
--- a/drivers/watchdog/pnx4008_wdt.c
+++ b/drivers/watchdog/pnx4008_wdt.c
@@ -335,7 +335,7 @@ static int __init pnx4008_wdt_init(void)
335 335
336static void __exit pnx4008_wdt_exit(void) 336static void __exit pnx4008_wdt_exit(void)
337{ 337{
338 return platform_driver_unregister(&platform_wdt_driver); 338 platform_driver_unregister(&platform_wdt_driver);
339} 339}
340 340
341module_init(pnx4008_wdt_init); 341module_init(pnx4008_wdt_init);