diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2007-11-13 12:23:06 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-13 09:02:18 -0800 |
commit | 9104476e4efbef8a8e32d48ced583603ff32a2db (patch) | |
tree | 1be22813f6cab5aa5d08fd9131eba25d249842fd /drivers/acpi/hardware | |
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>
Diffstat (limited to 'drivers/acpi/hardware')
0 files changed, 0 insertions, 0 deletions