summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2024-01-29 22:02:45 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2024-02-02 00:48:54 +0300
commit478a253e466570c4f02cbd7c9386f29dffe4375d (patch)
treed62bad3ac67626b3ce02c2fa89af7bfbfc44e3f8 /tools/perf/scripts/python/libxed.py
parentaed93a83a01211270feed78aa5dd5f2d2c76ff82 (diff)
downloadlinux-478a253e466570c4f02cbd7c9386f29dffe4375d.tar.xz
power: supply: max8925: 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 <afd@ti.com> Link: https://lore.kernel.org/r/20240129190246.73067-4-afd@ti.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions