iio: pressure-core: st: Provide support for the Vdd power supply
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Sep 2013 16:02:00 +0000 (17:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 23 Sep 2013 19:17:54 +0000 (20:17 +0100)
commit774487611c949e6d194877e7147f6eeeec092b53
treed6abcf6697bb6186f798f5207d599f0abf27b88b
parent3ffdea3feca9e2c95c2e93e217d77c9c368f747a
iio: pressure-core: st: Provide support for the Vdd power supply

The power to some of the sensors are controlled by regulators. In most
cases these are 'always on', but if not they will fail to work until
the regulator is enabled using the relevant APIs. This patch allows for
the Vdd power supply to be specified by either platform data or Device
Tree.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/st_pressure_core.c
include/linux/iio/common/st_sensors.h