diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-11-15 21:57:45 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-12-03 19:32:41 +0000 |
commit | 672f3022837968958980b0634ebdcf98355a47ed (patch) | |
tree | 7bec25259ada523ec34a6eafa3afdbfe8acabf8e /drivers/iio/potentiometer | |
parent | a1a210bf29a1a232a37c69588aff9690e671a5b3 (diff) | |
download | lwn-672f3022837968958980b0634ebdcf98355a47ed.tar.gz lwn-672f3022837968958980b0634ebdcf98355a47ed.zip |
iio: accel: bmc150-accel: Add rudimentary regulator support
These Bosch accelerometers have two supplies, VDD and VDDIO.
Add some rudimentary support to obtain and enable these
regulators during probe() and disable them during remove()
or on the errorpath.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201115205745.618455-3-linus.walleij@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/potentiometer')
0 files changed, 0 insertions, 0 deletions