summaryrefslogtreecommitdiff
path: root/drivers/iio/common
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-10-16 17:33:59 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 19:44:01 +0000
commit1fa4ff1f249983b38394ee79379e028c1c501ae5 (patch)
treedae36f06011ad5ee0be99d12562b0a8f6c474f42 /drivers/iio/common
parent5b30e739ceaf37aa5817195a20cd1fa7a4607623 (diff)
iio: accel: kxcjk-1013: Use devm_regulator_bulk_get_enable()
This driver only turns the power on at probe and off via a custom devm_add_action_or_reset() callback. The new devm_regulator_bulk_get_enable() replaces this boilerplate code. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20221016163409.320197-5-jic23@kernel.org
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions