iio: accel: bma400: basic regulator support

Add support for the VDD and VDDIO regulators using the regulator
framework.

Signed-off-by: Dan Robertson <dan@dlrobertson.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Dan Robertson 2019-12-20 16:00:51 +00:00 • committed by Jonathan Cameron
commit 3cf7ded15e
2 changed files with 38 additions and 5 deletions