diff options
author | Andrew Davis <afd@ti.com> | 2024-01-23 10:36:42 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 01:25:04 +0100 |
commit | e90a67f618c4a1128c49b11ddec37d9f1728ff5b (patch) | |
tree | 6c65a320cf643949fdf6c4d40c0141d83e086123 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2abb571143c39f581df9951d263948726db42d86 (diff) |
power: supply: pcf50633: 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/20240123163653.384385-11-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