diff options
author | Andrew Davis <afd@ti.com> | 2024-01-23 10:36:34 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 01:23:40 +0100 |
commit | 57261cda154b3d0f8671ea222672f75b1e965c15 (patch) | |
tree | df406855741f91333a401bd0c9ccb9fddcbc5532 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 98be59bd03aa50d155ba84208cd964017e397fc9 (diff) |
power: supply: da9052: 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-3-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