aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrew Davis <[email protected]>2024-01-29 13:02:43 -0600
committerSebastian Reichel <[email protected]>2024-02-01 22:48:54 +0100
commit99ae075684be3a84a9c20d9541259221d2c01fc8 (patch)
tree6970b6a362cd7ff0787b4dd2be05cce66f1b1adf /tools/perf/scripts/python
parent4c5d387d79a65355b73e526cbf5754a9dcd5377b (diff)
power: supply: max14577: 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