summaryrefslogtreecommitdiff
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-10-18 15:50:52 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-10-18 18:18:56 +0200
commit9052ff9b0387a6931d40f6999186099d038d2d33 (patch)
tree746897b5b81c82495e1cd6d3d091348c14671edf /kernel/irq_work.c
parent0b5a9135d5f12dce8dedaa18de6336364e04e873 (diff)
power: supply: axp288-charger: Remove unnecessary is_present and is_online helpers
Now that axp288_charger_usb_update_property() reads and caches all relevant registers, the axp288_charger_is_present() and axp288_charger_is_online() helpers are not necessary anymore. Directly check the cached input_status instead, allowing the removal of these 2 helpers. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions