aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/power_supply_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c
index d4824840c5bf..c444d6b10c58 100644
--- a/drivers/power/power_supply_sysfs.c
+++ b/drivers/power/power_supply_sysfs.c
@@ -106,7 +106,6 @@ static struct device_attribute power_supply_attrs[] = {
106 POWER_SUPPLY_ATTR(energy_now), 106 POWER_SUPPLY_ATTR(energy_now),
107 POWER_SUPPLY_ATTR(energy_avg), 107 POWER_SUPPLY_ATTR(energy_avg),
108 POWER_SUPPLY_ATTR(capacity), 108 POWER_SUPPLY_ATTR(capacity),
109 POWER_SUPPLY_ATTR(capacity_level),
110 POWER_SUPPLY_ATTR(temp), 109 POWER_SUPPLY_ATTR(temp),
111 POWER_SUPPLY_ATTR(temp_ambient), 110 POWER_SUPPLY_ATTR(temp_ambient),
112 POWER_SUPPLY_ATTR(time_to_empty_now), 111 POWER_SUPPLY_ATTR(time_to_empty_now),
@@ -116,6 +115,7 @@ static struct device_attribute power_supply_attrs[] = {
116 /* Properties of type `const char *' */ 115 /* Properties of type `const char *' */
117 POWER_SUPPLY_ATTR(model_name), 116 POWER_SUPPLY_ATTR(model_name),
118 POWER_SUPPLY_ATTR(manufacturer), 117 POWER_SUPPLY_ATTR(manufacturer),
118 POWER_SUPPLY_ATTR(serial_number),
119}; 119};
120 120
121static ssize_t power_supply_show_static_attrs(struct device *dev, 121static ssize_t power_supply_show_static_attrs(struct device *dev,