diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-10-16 17:34:08 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-12-28 17:19:45 +0000 |
| commit | 122ef59a2a16e4542705913b905d841704e239e9 (patch) | |
| tree | c3d8bcfa3337dacc730c13ca9a571d676bfb31bf /tools/perf/scripts/python | |
| parent | iio: accel: bma400: Use devm_regulator_bulk_get_enable() (diff) | |
| download | linux-122ef59a2a16e4542705913b905d841704e239e9.tar.gz linux-122ef59a2a16e4542705913b905d841704e239e9.zip | |
iio: pressure: ms5611: Use devm_regulator_get_enable()
This driver only turns the power on at probe and off at remove.
The new devm_regulator_get_enable() replaces this boilerplate code.
Some additional refactoring to drop now unnecessary unwinding after
this change.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Tomasz Duszynski <tduszyns@gmail.com>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/20221016163409.320197-14-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
