diff options
| author | Andrew Davis <[email protected]> | 2024-01-23 10:36:51 -0600 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-01-27 01:25:05 +0100 |
| commit | 4cb372a0ca220fff4a3878c4d1239af3e057e7cc (patch) | |
| tree | e9873bce489db504fac01adb15e35e5f1a972169 /tools/perf/scripts/python | |
| parent | a16dc57e97558dcff7c422b3abec4f9880e8272b (diff) | |
power: supply: rx51: 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')
0 files changed, 0 insertions, 0 deletions