aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/power_supply_sysfs.c
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@collabora.co.uk>2009-06-30 02:15:26 -0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2009-07-01 02:48:37 +0400
commit144bbeaedc53290eab21da82ce1cb5faefd14374 (patch)
treebbcbe31427ae566955323a3f988bb0f8569c49ff /drivers/power/power_supply_sysfs.c
parentRevert "power: remove POWER_SUPPLY_PROP_CAPACITY_LEVEL" (diff)
downloadlinux-dev-144bbeaedc53290eab21da82ce1cb5faefd14374.tar.xz
linux-dev-144bbeaedc53290eab21da82ce1cb5faefd14374.zip
olpc_battery: Add an 'error' sysfs device that displays raw errors
Grab the error code from EC_BAT_ERRCODE and let the user see it (rather than attempting to decode it as we do with PROP_HEALTH) with a separate error sysfs file. Signed-off-by: Andres Salomon <dilinger@collabora.co.uk> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/power_supply_sysfs.c')
0 files changed, 0 insertions, 0 deletions