]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[WATCHDOG] trivial fix two returns in void functions
authorFlorian Fainelli <florian.fainelli@telecomint.eu>
Wed, 17 Oct 2007 13:42:22 +0000 (15:42 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 25 Oct 2007 08:36:20 +0000 (08:36 +0000)
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>
drivers/watchdog/davinci_wdt.c
drivers/watchdog/pnx4008_wdt.c

index 19db5302ba6efffa7fde8b3077361d514fc9ecdd..e49a36c0d4d679739c972fc5ce09e06476e79a0a 100644 (file)
@@ -262,7 +262,7 @@ static int __init davinci_wdt_init(void)
 
 static void __exit davinci_wdt_exit(void)
 {
-       return platform_driver_unregister(&platform_wdt_driver);
+       platform_driver_unregister(&platform_wdt_driver);
 }
 
 module_init(davinci_wdt_init);
index 22f8873dd092e72f5e25140eea95146ed817f4f1..b0eb9f9b43c756b8f5c008f8602d05df5eab78ee 100644 (file)
@@ -335,7 +335,7 @@ static int __init pnx4008_wdt_init(void)
 
 static void __exit pnx4008_wdt_exit(void)
 {
-       return platform_driver_unregister(&platform_wdt_driver);
+       platform_driver_unregister(&platform_wdt_driver);
 }
 
 module_init(pnx4008_wdt_init);