diff options
author | Andrew Davis <afd@ti.com> | 2024-01-23 09:09:13 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 00:49:17 +0100 |
commit | 7911cf971c1cbf69cb110ab83598c3c415cf2c70 (patch) | |
tree | f925cda6121b36617c4e0c3023e7167f4a528667 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2d506d9fe10f0104951f61ad0d414ac8b8dbc38 (diff) |
power: supply: bq27xxx: Use devm_power_supply_register() helper
Use the device lifecycle managed register function. This helps prevent
mistakes like unregistering out of order in cleanup functions and
forgetting to unregister on error paths.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240123150914.308510-4-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions