commit | 9104476e4efbef8a8e32d48ced583603ff32a2db | [log] [tgz] |
---|---|---|
author | Alexey Starikovskiy <astarikovskiy@suse.de> | Tue Nov 13 12:23:06 2007 +0300 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Nov 13 09:02:18 2007 -0800 |
tree | 1be22813f6cab5aa5d08fd9131eba25d249842fd | |
parent | 0b832a4b93932103d73c0c3f35ef1153e288327b [diff] |
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 <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>