diff options
| author | Andrew Davis <[email protected]> | 2024-01-23 10:36:35 -0600 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-01-27 01:23:40 +0100 |
| commit | 88a72257a438375894de446885bb40946e0f979f (patch) | |
| tree | c82db9fe04ee06ec316b4a7d63b696416154f445 /tools/perf/scripts/python | |
| parent | 57261cda154b3d0f8671ea222672f75b1e965c15 (diff) | |
power: supply: ds2760: 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