olpc_battery: Add an 'error' sysfs device that displays raw errors
authorAndres Salomon <dilinger@collabora.co.uk>
Tue, 30 Jun 2009 06:15:26 +0000 (02:15 -0400)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Tue, 30 Jun 2009 22:48:37 +0000 (02:48 +0400)
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>

No differences found