diff options
author | Andrew Davis <afd@ti.com> | 2024-01-23 10:36:37 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 01:23:41 +0100 |
commit | 3b4d07fdaf17a8bb79173c2c40876d3221edeea4 (patch) | |
tree | f6c5a0aa10eea3cb6605d5f3fc646b63712e2c6a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ada63f1ec91b77417cf195dadd646eaadb6f121c (diff) |
power: supply: lp8727: 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-6-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