From: Andres Salomon Date: Tue, 30 Jun 2009 06:15:26 +0000 (-0400) Subject: olpc_battery: Add an 'error' sysfs device that displays raw errors X-Git-Tag: v2.6.32-rc1~158^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=144bbeaedc53290eab21da82ce1cb5faefd14374;p=pandora-kernel.git 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 Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed