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