diff options
| author | Andrew Davis <afd@ti.com> | 2024-01-23 08:09:17 -0600 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-17 16:16:10 +0000 |
| commit | 5ff7ea503cd40776b741a33de762cc3f71c3fc1a (patch) | |
| tree | 1ae0228bafb0b2921618aa60ce8e17036f5530f6 /tools/perf/scripts/python | |
| parent | iio: health: afe4403: Use devm IIO helpers (diff) | |
| download | linux-5ff7ea503cd40776b741a33de762cc3f71c3fc1a.tar.gz linux-5ff7ea503cd40776b741a33de762cc3f71c3fc1a.zip | |
iio: health: afe4404: Use devm action helper for regulator disable
Use a device lifecycle managed action for regulator disable 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/20240123140918.215818-3-afd@ti.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
