diff options
| author | Andrew Davis <afd@ti.com> | 2024-01-23 19:36:45 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 03:25:04 +0300 |
| commit | aa0c8959dac7207e3b7b25bcb01730bff9c61713 (patch) | |
| tree | 6f70501f5d5271103304d451ea37c76df38daa5d /tools/perf/scripts/python/flamegraph.py | |
| parent | 503920abb586c3e355a19c680089ff5b33d97262 (diff) | |
| download | linux-aa0c8959dac7207e3b7b25bcb01730bff9c61713.tar.xz | |
power: supply: wm831x: 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/20240123163653.384385-14-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
