summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-10-16 19:33:57 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-12-28 20:19:45 +0300
commit4da9438d293d30def46b2801fa00e176c59883d2 (patch)
tree925b9680fdfca05ac559ad3a98a7ad3736da4920 /drivers/iio/pressure
parentf9e51aacc740935bd0201565e040fd7b36f645aa (diff)
downloadlinux-4da9438d293d30def46b2801fa00e176c59883d2.tar.xz
iio: accel: bma400: 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> Cc: Jagath Jog J <jagathjog1996@gmail.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://lore.kernel.org/r/20221016163409.320197-3-jic23@kernel.org
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions