diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-04-15 18:07:33 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2023-05-08 15:07:34 +0200 |
commit | 1269774ac3c8b5845ce12cb686165f3e4850b91e (patch) | |
tree | f45db37a23a4553f3698c9cb591d0a52cceabb51 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3cc52437d93c52b4ac26ed0467a9bd89106a9675 (diff) |
power: supply: max17042_battery: Refactor max17042_external_power_changed()
max17042_external_power_changed() is a wrapper around
"power_supply_changed(psy);" and it has the same prototype.
Remove it, replacing it with making the external_power_changed
callback directly point to power_supply_changed.
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Cc: Purism Kernel Team <kernel@puri.sm>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions