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: NHans de Goede <hdegoede@redhat.com> Reviewed-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
Showing
想要评论请 注册 或 登录