commit | dcdddda8fdd23048f2eaf54a18a33e9f225d8fb6 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Apr 14 20:32:52 2017 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Mon May 01 12:37:32 2017 +0200 |
tree | ae187038185aa324060e18ab3b585d2ae435de3a | |
parent | a9df22c00d7c2c9c2944c62f1b819de6c214660f [diff] |
power: supply: max17042_battery: Add external_power_changed callback If our supplier changes status, chances are we've changed status too, let any listeners know about this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>