diff options
author | Anton Vorontsov <cbou@mail.ru> | 2007-07-15 03:18:25 +0200 |
---|---|---|
committer | Anton Vorontsov <cbou@mail.ru> | 2007-07-15 20:32:38 +0200 |
commit | 7b3d54a8c30d2c524889a05d0c1334813d516b93 (patch) | |
tree | 7bcbfadc8604f04bea356a8fc61f8069daf24b85 /drivers/power/apm_power.c | |
parent | pda_power: clean up irq, timer (diff) | |
download | linux-7b3d54a8c30d2c524889a05d0c1334813d516b93.tar.xz linux-7b3d54a8c30d2c524889a05d0c1334813d516b93.zip |
Power supply class and drivers: remove non obligatory return statements
Per Jeff Garzik request.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Anton Vorontsov <cbou@mail.ru>
Diffstat (limited to 'drivers/power/apm_power.c')
-rw-r--r-- | drivers/power/apm_power.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/power/apm_power.c b/drivers/power/apm_power.c index 042bd950d036..39a90a6f0f80 100644 --- a/drivers/power/apm_power.c +++ b/drivers/power/apm_power.c @@ -48,8 +48,6 @@ static void find_main_battery(void) } if (!main_battery) main_battery = batm; - - return; } static int calculate_time(int status) @@ -218,7 +216,6 @@ static void apm_battery_apm_get_power_status(struct apm_power_info *info) } up(&power_supply_class->sem); - return; } static int __init apm_battery_init(void) @@ -232,7 +229,6 @@ static int __init apm_battery_init(void) static void __exit apm_battery_exit(void) { apm_get_power_status = NULL; - return; } module_init(apm_battery_init); |