From: Alexey Starikovskiy Date: Tue, 13 Nov 2007 09:23:06 +0000 (+0300) Subject: ACPI: Battery: remove cycle from battery removal. X-Git-Tag: v2.6.24-rc3~147 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9104476e4efbef8a8e32d48ced583603ff32a2db;p=pandora-kernel.git ACPI: Battery: remove cycle from battery removal. get_property() should not call battery_update(), it also should call get_status() only if battery is present to avoid cycle and oops. Signed-off-by: Alexey Starikovskiy Tested-by: Rolf Eike Beer Acked-by: Johannes Weiner Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed