diff options
| author | Amit Sunil Dhamne <amitsd@google.com> | 2026-07-14 21:10:52 +0000 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-07-26 01:31:43 +0200 |
| commit | 0962125d9001077e91bc90656245f009e3c6c129 (patch) | |
| tree | 67b89d27aeff11525d6368820b582b52259a7d00 /tools/perf/scripts/python/bin | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
power: supply: Add helpers to get and put arrays of power supply handles
Add power_supply_get_system_batteries() to allow drivers to obtain
a list of registered battery type power supply references in the
system. Also add power_supply_put_system_batteries() to perform
cleanup after the former function is called.
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Link: https://patch.msgid.link/20260714-batt-status-v5-1-9de4aa900b69@google.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
