Commit bb0a38d8 authored by Florian Fainelli's avatar Florian Fainelli Committed by Wim Van Sebroeck

[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: default avatarFlorian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent c9927c2b
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment