diff options
author | Andrew Davis <afd@ti.com> | 2024-01-29 13:02:46 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-02-01 22:48:54 +0100 |
commit | cad1e6df54ca6231a3d1217bc4231d1a7eadbc0c (patch) | |
tree | 0a7c07b7cd54e0b52b992f61f4749db3466a94ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 478a253e466570c4f02cbd7c9386f29dffe4375d (diff) |
power: supply: wm8350: 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/20240129190246.73067-5-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