]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ACPI: Battery: remove cycle from battery removal.
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Tue, 13 Nov 2007 09:23:06 +0000 (12:23 +0300)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 13 Nov 2007 17:02:18 +0000 (09:02 -0800)
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 <astarikovskiy@suse.de>
Tested-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Acked-by: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found