OSDN Git Service

iio: pressure: bmp280: use bulk regulator ops
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 2 Oct 2019 08:57:56 +0000 (10:57 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Oct 2019 10:03:15 +0000 (11:03 +0100)
commit1372d1a1979931a2a073b2cb683974f9fbe1230e
tree7660adab3ec92db10b45e292d7d42d59ca432974
parent84e5ddd5c46ea3bf0cad670da32028994cad5936
iio: pressure: bmp280: use bulk regulator ops

The vddd and vdda supplies are always operated on together. We can
shrink the code a bit by using the bulk regulator helpers.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/bmp280-core.c