diff options
author | Andrew Davis <afd@ti.com> | 2024-01-29 13:02:44 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-02-01 22:48:54 +0100 |
commit | aed93a83a01211270feed78aa5dd5f2d2c76ff82 (patch) | |
tree | ac6062e5eecca08dc4b9cbb7b48ad8aaccd654c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 99ae075684be3a84a9c20d9541259221d2c01fc8 (diff) |
power: supply: max77693: 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-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