iio: accel: bma180: Basic regulator support
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Dec 2019 21:38:17 +0000 (22:38 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Dec 2019 15:20:08 +0000 (15:20 +0000)
commitc35aae7443023c08d406c9077c9e842b48cdb22f
treeccd1f5f5d39b6080ad5ea3127fc4e5de100904c4
parent964172561ea65f92394ef823405c31f17c57cc90
iio: accel: bma180: Basic regulator support

This brings up the VDD and VDDIO regulators using the
regulator framework. Platforms that do not use regulators
will provide stubs or dummy regulators.

Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/bma180.c