diff options
Diffstat (limited to 'drivers/power/olpc_battery.c')
-rw-r--r-- | drivers/power/olpc_battery.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c index 878684df7667..c998e68d060f 100644 --- a/drivers/power/olpc_battery.c +++ b/drivers/power/olpc_battery.c | |||
@@ -341,7 +341,6 @@ static void __exit olpc_bat_exit(void) | |||
341 | power_supply_unregister(&olpc_bat); | 341 | power_supply_unregister(&olpc_bat); |
342 | power_supply_unregister(&olpc_ac); | 342 | power_supply_unregister(&olpc_ac); |
343 | platform_device_unregister(bat_pdev); | 343 | platform_device_unregister(bat_pdev); |
344 | return; | ||
345 | } | 344 | } |
346 | 345 | ||
347 | module_init(olpc_bat_init); | 346 | module_init(olpc_bat_init); |