aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHeikki Krogerus <ext-heikki.krogerus@nokia.com>2010-10-04 03:51:38 -0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-10-06 09:37:22 -0400
commitfe3f6d097a042cff54bc1dc06f21ef528affe8ca (patch)
treec92c3ad496bf1e2779067142cd438d4182fecd90 /drivers
parent85efc8a18cedf70e55acd0c825e2d9d2f3b19999 (diff)
power_supply: Introduce maximum current property
USB only gives the maximum current allowed to draw. Signed-off-by: Heikki Krogerus <ext-heikki.krogerus@nokia.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers')
-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 88f5e43100c2..cd1f90754a3a 100644
--- a/drivers/power/power_supply_sysfs.c
+++ b/drivers/power/power_supply_sysfs.c
@@ -139,6 +139,7 @@ static struct device_attribute power_supply_attrs[] = {
139 POWER_SUPPLY_ATTR(voltage_min_design), 139 POWER_SUPPLY_ATTR(voltage_min_design),
140 POWER_SUPPLY_ATTR(voltage_now), 140 POWER_SUPPLY_ATTR(voltage_now),
141 POWER_SUPPLY_ATTR(voltage_avg), 141 POWER_SUPPLY_ATTR(voltage_avg),
142 POWER_SUPPLY_ATTR(current_max),
142 POWER_SUPPLY_ATTR(current_now), 143 POWER_SUPPLY_ATTR(current_now),
143 POWER_SUPPLY_ATTR(current_avg), 144 POWER_SUPPLY_ATTR(current_avg),
144 POWER_SUPPLY_ATTR(power_now), 145 POWER_SUPPLY_ATTR(power_now),