aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrew Davis <[email protected]>2024-01-23 10:36:35 -0600
committerSebastian Reichel <[email protected]>2024-01-27 01:23:40 +0100
commit88a72257a438375894de446885bb40946e0f979f (patch)
treec82db9fe04ee06ec316b4a7d63b696416154f445 /tools/perf/scripts/python
parent57261cda154b3d0f8671ea222672f75b1e965c15 (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