forked from luck/tmp_suning_uos_patched
[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>
This commit is contained in:
parent
c9927c2bf4
commit
bb0a38d891
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user