android_kernel_xiaomi_sm8350/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
Kconfig
Makefile
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_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