commit | e363a755e8033e18f733fc0d1687039df8efade0 | [log] [tgz] |
---|---|---|
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | Tue Jun 30 14:35:05 2009 +0000 |
committer | Len Brown <len.brown@intel.com> | Sun Apr 04 19:53:04 2010 -0400 |
tree | e0dac8e41730defa6eb86e256d5ff8f3940253fd | |
parent | 2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 [diff] |
ACPI: battery: Fix CONFIG_ACPI_SYSFS_POWER=n Disabling CONFIG_ACPI_SYSFS_POWER changes the behaviour of acpi_battery_update(). It will call acpi_battery_get_info() even if the battery is not present. I haven't noticed this causing any problem, but it does look like a bad idea. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Acked-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>