diff options
| author | Alan Jenkins <[email protected]> | 2009-06-30 14:35:05 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2010-04-04 23:53:04 +0000 |
| commit | e363a755e8033e18f733fc0d1687039df8efade0 (patch) | |
| tree | e0dac8e41730defa6eb86e256d5ff8f3940253fd /lib/debugobjects.c | |
| parent | Linux 2.6.34-rc3 (diff) | |
| download | kernel-e363a755e8033e18f733fc0d1687039df8efade0.tar.gz kernel-e363a755e8033e18f733fc0d1687039df8efade0.zip | |
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 <[email protected]>
Acked-by: Alexey Starikovskiy <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
