diff options
author | Matti Vaittinen <mazziesaccount@gmail.com> | 2022-08-19 22:20:03 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 19:44:00 +0000 |
commit | 7ff0ad35aa6f70fe32fee33bc6e0aa356af99f76 (patch) | |
tree | 3d0fd48cc57176e0691bce4d4861086f6fa8d868 /drivers/pps | |
parent | 6900cdbfb99e8600572da340576509297a684a3a (diff) | |
download | lwn-7ff0ad35aa6f70fe32fee33bc6e0aa356af99f76.tar.gz lwn-7ff0ad35aa6f70fe32fee33bc6e0aa356af99f76.zip |
iio: adc: ad7476: simplify using devm_regulator_get_enable()
Drop open-coded pattern: 'devm_regulator_get(), regulator_enable(),
add_action_or_reset(regulator_disable)' and use the
devm_regulator_get_enable()
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/33070d66b9b976acac1cee5570facef9278b6b61.1660934107.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions