diff options
| author | Andrew Davis <[email protected]> | 2024-01-23 10:36:53 -0600 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-01-27 01:25:05 +0100 |
| commit | 4c5d387d79a65355b73e526cbf5754a9dcd5377b (patch) | |
| tree | 310ee4ebd6c9b027f31b4f80e8aa79ad0d9b5424 /tools/perf/scripts/python/bin | |
| parent | 8ac675344280a406835f03746594345209f2c1ae (diff) | |
power: supply: twl4030_madc: 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