linux/drivers/power
Thadeu Lima de Souza Cascardo 4cbc76eadf power_supply: remove capacity_level from list of sysfs attributes
This commit:

commit 8efe444038
Author: Andres Salomon <dilinger@queued.net>
Date:   Wed Dec 12 14:12:56 2007 -0500

    power: remove POWER_SUPPLY_PROP_CAPACITY_LEVEL

Removed CAPACITY_LEVEL from every other code, leaving the array with sysfs
attributes with one more entry than the number of enums in power_supply.h.
This leads to some attributes containing the value of the attribute right
after it.  For example, temp_ambient would have the value of
time_to_empty_now.  In my case, I had time_to_full_avg have the value which
should be in model_name, when the former was usually empty.

Cc: Andres Salomon <dilinger@debian.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 08:42:06 -08:00
..
apm_power.c apm_power: check I.intval for zero value, we use it as the divisor 2008-02-02 02:44:34 +03:00
ds2760_battery.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
Kconfig Don't compile the PMU power driver on 64-bit PowerPC 2007-07-23 12:42:45 +01:00
Makefile [BATTERY] One Laptop Per Child power/battery driver 2007-07-10 11:28:22 +01:00
olpc_battery.c power: remove POWER_SUPPLY_PROP_CAPACITY_LEVEL 2008-02-02 02:42:59 +03:00
pda_power.c pda_power: implement polling 2008-02-02 02:44:34 +03:00
pmu_battery.c Power supply class and drivers: remove non obligatory return statements 2007-07-15 22:32:38 +04:00
power_supply_core.c power supply : use class iteration api 2008-01-24 20:40:44 -08:00
power_supply_leds.c [BATTERY] power_supply_leds: use kasprintf 2008-02-02 02:42:59 +03:00
power_supply_sysfs.c power_supply: remove capacity_level from list of sysfs attributes 2008-02-07 08:42:06 -08:00
power_supply.h Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00