From: Alan Jenkins Date: Tue, 30 Jun 2009 14:35:05 +0000 (+0000) Subject: ACPI: battery: Fix CONFIG_ACPI_SYSFS_POWER=n X-Git-Tag: v2.6.34-rc4~21^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e363a755e8033e18f733fc0d1687039df8efade0;p=pandora-kernel.git 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 Acked-by: Alexey Starikovskiy Signed-off-by: Len Brown --- Reading git-diff-tree failed