diff options
author | Anton Vorontsov <cbou@mail.ru> | 2007-07-14 21:18:25 -0400 |
---|---|---|
committer | Anton Vorontsov <cbou@mail.ru> | 2007-07-15 14:32:38 -0400 |
commit | 7b3d54a8c30d2c524889a05d0c1334813d516b93 (patch) | |
tree | 7bcbfadc8604f04bea356a8fc61f8069daf24b85 /drivers/power/pda_power.c | |
parent | 5ebf6e6a96e41220edec23a90e4140985d1a5732 (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/pda_power.c')
-rw-r--r-- | drivers/power/pda_power.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c index cdc28923e0ce..c058f285be1a 100644 --- a/drivers/power/pda_power.c +++ b/drivers/power/pda_power.c | |||
@@ -97,8 +97,6 @@ static void update_charger(void) | |||
97 | dev_dbg(dev, "charger off\n"); | 97 | dev_dbg(dev, "charger off\n"); |
98 | pdata->set_charge(0); | 98 | pdata->set_charge(0); |
99 | } | 99 | } |
100 | |||
101 | return; | ||
102 | } | 100 | } |
103 | 101 | ||
104 | static void supply_timer_func(unsigned long power_supply_ptr) | 102 | static void supply_timer_func(unsigned long power_supply_ptr) |
@@ -106,7 +104,6 @@ static void supply_timer_func(unsigned long power_supply_ptr) | |||
106 | void *power_supply = (void *)power_supply_ptr; | 104 | void *power_supply = (void *)power_supply_ptr; |
107 | 105 | ||
108 | power_supply_changed(power_supply); | 106 | power_supply_changed(power_supply); |
109 | return; | ||
110 | } | 107 | } |
111 | 108 | ||
112 | static void charger_timer_func(unsigned long power_supply_ptr) | 109 | static void charger_timer_func(unsigned long power_supply_ptr) |
@@ -118,7 +115,6 @@ static void charger_timer_func(unsigned long power_supply_ptr) | |||
118 | supply_timer.data = power_supply_ptr; | 115 | supply_timer.data = power_supply_ptr; |
119 | mod_timer(&supply_timer, | 116 | mod_timer(&supply_timer, |
120 | jiffies + msecs_to_jiffies(pdata->wait_for_charger)); | 117 | jiffies + msecs_to_jiffies(pdata->wait_for_charger)); |
121 | return; | ||
122 | } | 118 | } |
123 | 119 | ||
124 | static irqreturn_t power_changed_isr(int irq, void *power_supply) | 120 | static irqreturn_t power_changed_isr(int irq, void *power_supply) |
@@ -251,7 +247,6 @@ static int __init pda_power_init(void) | |||
251 | static void __exit pda_power_exit(void) | 247 | static void __exit pda_power_exit(void) |
252 | { | 248 | { |
253 | platform_driver_unregister(&pda_power_pdrv); | 249 | platform_driver_unregister(&pda_power_pdrv); |
254 | return; | ||
255 | } | 250 | } |
256 | 251 | ||
257 | module_init(pda_power_init); | 252 | module_init(pda_power_init); |