diff options
| author | Andrew Davis <[email protected]> | 2024-01-29 13:02:46 -0600 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-02-01 22:48:54 +0100 |
| commit | cad1e6df54ca6231a3d1217bc4231d1a7eadbc0c (patch) | |
| tree | 0a7c07b7cd54e0b52b992f61f4749db3466a94ce /tools/perf/scripts/python/task-analyzer.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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions