diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-12-21 15:36:53 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-01-04 22:03:00 +0100 |
commit | bcd39ba7327e806190761aeefa953099e68ebe24 (patch) | |
tree | f548cf06f1bd8966210a7f919ff404a66438a495 /net | |
parent | 71851a63af60cb98cb877e52776b2700e868683b (diff) | |
download | linux-stable-bcd39ba7327e806190761aeefa953099e68ebe24.tar.gz linux-stable-bcd39ba7327e806190761aeefa953099e68ebe24.tar.bz2 linux-stable-bcd39ba7327e806190761aeefa953099e68ebe24.zip |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions