summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2020-12-11 21:38:15 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-01-22 11:52:02 +0300
commitce69361ab74681b095d72376ad173dea3f4d9c29 (patch)
treeea3d17e45063d4d41458bed597bd1ca28b8efe50 /include/linux
parentfe28b2aa52a92401d58ef6fc7283127030c2947b (diff)
downloadlinux-ce69361ab74681b095d72376ad173dea3f4d9c29.tar.xz
iio: gyro: bmg160: Add rudimentary regulator support
BMG160 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 using a devm action. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20201211183815.51269-2-stephan@gerhold.net Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions