aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/pda_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/pda_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/pda_power.c')
-rw-r--r--drivers/power/pda_power.c5
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
104static void supply_timer_func(unsigned long power_supply_ptr) 102static 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
112static void charger_timer_func(unsigned long power_supply_ptr) 109static 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
124static irqreturn_t power_changed_isr(int irq, void *power_supply) 120static irqreturn_t power_changed_isr(int irq, void *power_supply)
@@ -251,7 +247,6 @@ static int __init pda_power_init(void)
251static void __exit pda_power_exit(void) 247static 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
257module_init(pda_power_init); 252module_init(pda_power_init);