-
由 Alexey Starikovskiy 提交于
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: NAlexey Starikovskiy <astarikovskiy@suse.de> Tested-by: NRolf Eike Beer <eike-kernel@sf-tec.de> Acked-by: NJohannes Weiner <hannes@saeurebad.de> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
9104476e