diff options
author | Andrew Davis <afd@ti.com> | 2024-01-29 22:02:44 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-02-02 00:48:54 +0300 |
commit | aed93a83a01211270feed78aa5dd5f2d2c76ff82 (patch) | |
tree | ac6062e5eecca08dc4b9cbb7b48ad8aaccd654c5 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 99ae075684be3a84a9c20d9541259221d2c01fc8 (diff) | |
download | linux-aed93a83a01211270feed78aa5dd5f2d2c76ff82.tar.xz |
power: supply: max77693: 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-3-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions