diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-10-16 17:34:07 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 19:44:02 +0000 |
commit | 1db96143df6b81a402e9b88d08f04374f1353ed0 (patch) | |
tree | f313fea56c2c7eac3f1daae3a83253acf8e9bd78 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b620be5f32621b953313056c396894818d5a2ed9 (diff) |
iio: proximity: sx_common: Use devm_regulator_bulk_get_enable()
This driver only turns the power for some regulators on at probe and off
via a custom devm_add_action_or_reset() callback. The new
devm_regulator_bulk_get_enable() replaces all this boilerplate code.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20221016163409.320197-13-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions