aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/power_supply_sysfs.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-15 19:56:12 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-15 19:56:12 -0400
commit8f41958bdd577731f7411c9605cfaa9db6766809 (patch)
tree424776ff9ffe3fac011634c7c8db15dee839b0bb /drivers/power/power_supply_sysfs.c
parentbc06cffdec85d487c77109dffcd2f285bdc502d3 (diff)
parent0909fca51346d0ece688532c54d41ebc986aef7f (diff)
Merge git://git.infradead.org/battery-2.6
* git://git.infradead.org/battery-2.6: git-battery vs git-acpi Power supply class and drivers: remove non obligatory return statements pda_power: clean up irq, timer MAINTAINERS: Add maintainers for power supply subsystem and drivers Fixed up trivial conflict in drivers/w1/slaves/w1_ds2760.c manually
Diffstat (limited to 'drivers/power/power_supply_sysfs.c')
-rw-r--r--drivers/power/power_supply_sysfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c
index c07d4258d347..c7c4574729b1 100644
--- a/drivers/power/power_supply_sysfs.c
+++ b/drivers/power/power_supply_sysfs.c
@@ -176,8 +176,6 @@ void power_supply_remove_attrs(struct power_supply *psy)
176 for (i = 0; i < psy->num_properties; i++) 176 for (i = 0; i < psy->num_properties; i++)
177 device_remove_file(psy->dev, 177 device_remove_file(psy->dev,
178 &power_supply_attrs[psy->properties[i]]); 178 &power_supply_attrs[psy->properties[i]]);
179
180 return;
181} 179}
182 180
183static char *kstruprdup(const char *str, gfp_t gfp) 181static char *kstruprdup(const char *str, gfp_t gfp)