diff options
| author | Andrew Davis <[email protected]> | 2024-01-23 10:36:38 -0600 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-01-27 01:23:41 +0100 |
| commit | 2abb571143c39f581df9951d263948726db42d86 (patch) | |
| tree | 7fd67a4b40f9a8e24a345d10690866f48af15b0a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3b4d07fdaf17a8bb79173c2c40876d3221edeea4 (diff) | |
power: supply: lp8788: 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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions