aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/apm_power.c
diff options
context:
space:
mode:
authorAnton Vorontsov <cbou@mail.ru>2007-07-14 21:18:25 -0400
committerAnton Vorontsov <cbou@mail.ru>2007-07-15 14:32:38 -0400
commit7b3d54a8c30d2c524889a05d0c1334813d516b93 (patch)
tree7bcbfadc8604f04bea356a8fc61f8069daf24b85 /drivers/power/apm_power.c
parent5ebf6e6a96e41220edec23a90e4140985d1a5732 (diff)
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.c4
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)
48 } 48 }
49 if (!main_battery) 49 if (!main_battery)
50 main_battery = batm; 50 main_battery = batm;
51
52 return;
53} 51}
54 52
55static int calculate_time(int status) 53static int calculate_time(int status)
@@ -218,7 +216,6 @@ static void apm_battery_apm_get_power_status(struct apm_power_info *info)
218 } 216 }
219 217
220 up(&power_supply_class->sem); 218 up(&power_supply_class->sem);
221 return;
222} 219}
223 220
224static int __init apm_battery_init(void) 221static int __init apm_battery_init(void)
@@ -232,7 +229,6 @@ static int __init apm_battery_init(void)
232static void __exit apm_battery_exit(void) 229static void __exit apm_battery_exit(void)
233{ 230{
234 apm_get_power_status = NULL; 231 apm_get_power_status = NULL;
235 return;
236} 232}
237 233
238module_init(apm_battery_init); 234module_init(apm_battery_init);