aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-02-06 19:35:39 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-02-11 19:08:34 +0100
commita314fae312639876ff00788c6b8a5dca55be3190 (patch)
tree8c4e54ad97a870da2de2f94cf562ece2b0b70ec0 /tools/perf/scripts/python
parentpower: supply: bq24190_charger: Turn off 5V boost regulator on shutdown (diff)
downloadlinux-a314fae312639876ff00788c6b8a5dca55be3190.tar.gz
linux-a314fae312639876ff00788c6b8a5dca55be3190.zip
power: supply: bq24190_charger: Always call power_supply_get_battery_info()
power_supply_get_battery_info() now also supports getting battery_info on boards not using dt/of. Remove the of_node check. If neither of nor other battery-info is present the function will fail making this change a no-op in that case. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions