diff options
author | Andrew Davis <afd@ti.com> | 2024-12-02 15:15:18 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-12-04 22:31:31 +0100 |
commit | 8571178e9adf3128d70d14359b965f370cfd522d (patch) | |
tree | 5ac20ef9002a18d84a19fe28574c3efac097b54d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1481f9f39091b95aec52553a9652d84a827a6004 (diff) |
power: supply: ds2782: 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/20241202211519.199635-4-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions