summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@debian.org>2008-09-05 16:46:54 -0400
committerAndres Salomon <dilinger@debian.org>2008-09-05 16:46:54 -0400
commitfc97cec1a9d8939060e3445bd7ad4cd3b8f5599f (patch)
treec98354445934bd7c5d6e80b1ae9dbdd723353401
parent7bd35a5e461731c283dfcb8d8b2ba2436a95405b (diff)
downloadlwn-fc97cec1a9d8939060e3445bd7ad4cd3b8f5599f.tar.gz
lwn-fc97cec1a9d8939060e3445bd7ad4cd3b8f5599f.zip
Revert "power_supply: remove capacity_level from list of sysfs attributes"
This reverts commit 4cbc76eadf56399cd11fb736b33c53aec9caab8c.
-rw-r--r--drivers/power/power_supply_sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c
index 04822c17f99a..f79bb8619a6c 100644
--- a/drivers/power/power_supply_sysfs.c
+++ b/drivers/power/power_supply_sysfs.c
@@ -107,6 +107,7 @@ static struct device_attribute power_supply_attrs[] = {
POWER_SUPPLY_ATTR(energy_now),
POWER_SUPPLY_ATTR(energy_avg),
POWER_SUPPLY_ATTR(capacity),
+ POWER_SUPPLY_ATTR(capacity_level),
POWER_SUPPLY_ATTR(temp),
POWER_SUPPLY_ATTR(temp_ambient),
POWER_SUPPLY_ATTR(time_to_empty_now),