diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-10-16 19:34:08 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-12-28 20:19:45 +0300 |
commit | 122ef59a2a16e4542705913b905d841704e239e9 (patch) | |
tree | c3d8bcfa3337dacc730c13ca9a571d676bfb31bf /scripts/file-size.sh | |
parent | 4da9438d293d30def46b2801fa00e176c59883d2 (diff) | |
download | linux-122ef59a2a16e4542705913b905d841704e239e9.tar.xz |
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 'scripts/file-size.sh')
0 files changed, 0 insertions, 0 deletions