commit | eb03cb02b74df6dd0b653d5f6d976f16a434dfaf | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Tue Jul 12 09:03:29 2011 +0100 |
committer | Len Brown <len.brown@intel.com> | Sat Jul 16 18:57:24 2011 -0400 |
tree | 0df6bbc6e0013153a9f914d50ac8e9a93ad154ac | |
parent | e80bba4b5108c6479379740201b0a5d9da5ffbac [diff] |
ACPI / Battery: propagate sysfs error in acpi_battery_add() Make sure the error return from sysfs_add_battery() is checked and propagated out from acpi_battery_add(). Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Len Brown <len.brown@intel.com>