commit | bcd39ba7327e806190761aeefa953099e68ebe24 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Wed Dec 21 15:36:53 2016 +0100 |
committer | Sebastian Reichel <sre@kernel.org> | Wed Jan 04 22:03:00 2017 +0100 |
tree | f548cf06f1bd8966210a7f919ff404a66438a495 | |
parent | 71851a63af60cb98cb877e52776b2700e868683b [diff] |
power: supply: axp288_charger: Some minor cleanups Remove info->health, info->present and info->online caching, as no code is reading the cached values. Remove if (changed) check before calling power_supply_changed(), we return early from axp288_charger_extcon_evt_worker if nothing has changed, so the check is not needed. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>