diff options
| author | Andrew Davis <[email protected]> | 2024-01-23 09:09:13 -0600 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-01-27 00:49:17 +0100 |
| commit | 7911cf971c1cbf69cb110ab83598c3c415cf2c70 (patch) | |
| tree | f925cda6121b36617c4e0c3023e7167f4a528667 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f2d506d9fe10f0104951f61ad0d414ac8b8dbc38 (diff) | |
power: supply: bq27xxx: 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions