diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-10-18 15:50:53 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-10-18 18:18:56 +0200 |
commit | 5b5100c569b533195d9535fd2155d9f1cf389d0c (patch) | |
tree | 3358cdbc1b32818f0bc6663e79b8e459d5506fda /tools/perf/util/c++/clang.cpp | |
parent | 9052ff9b0387a6931d40f6999186099d038d2d33 (diff) | |
download | linux-5b5100c569b533195d9535fd2155d9f1cf389d0c.tar.gz linux-5b5100c569b533195d9535fd2155d9f1cf389d0c.tar.bz2 linux-5b5100c569b533195d9535fd2155d9f1cf389d0c.zip |
power: supply: axp288-charger: Simplify axp288_get_charger_health()
Now that axp288_charger_usb_update_property() reads and caches all
relevant registers, axp288_get_charger_health() can be simplified
by directly returning the health.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions