summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/hid-sensor-gyro-3d.c
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2021-01-09 18:23:27 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-01-22 11:52:03 +0300
commitcce4f160ea809e906bb5bfaf0b03664cca08cdb1 (patch)
tree79612fb686bf658e33a5c97ea4b858233d750d5a /drivers/iio/gyro/hid-sensor-gyro-3d.c
parent111a10d4991409fc84b0d9c510d8d497da5cf21c (diff)
downloadlinux-cce4f160ea809e906bb5bfaf0b03664cca08cdb1.tar.xz
iio: magnetometer: bmc150: Add rudimentary regulator support
BMC150 needs VDD and VDDIO regulators that might need to be explicitly enabled. Add some rudimentary support to obtain and enable these regulators during probe() and disable them during remove() or on the error path. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Link: https://lore.kernel.org/r/20210109152327.512538-2-stephan@gerhold.net Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/gyro/hid-sensor-gyro-3d.c')
0 files changed, 0 insertions, 0 deletions