linux/drivers/iio
Linus Walleij ea7e586bdd iio: st_sensors: move regulator retrieveal to core
Currently the pressure sensor has code to retrieve and enable two
regulators for Vdd and Vdd IO, but actually these voltage inputs
are found on all of these ST sensors, so move the regulator
handling to the core and make sure all the ST sensors call these
functions on probe() and remove() to enable/disable power.

Here also mover over to obtaining the regulator from the *parent*
device of the IIO device, as the IIO device is created on-the-fly
in this very subsystem it very unlikely evert have any regulators
attached to it whatsoever. It is much more likely that the parent
is a platform device, possibly instantiated from a device tree,
which in turn have Vdd and Vdd IO supplied assigned to it.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Denis CIOCCA <denis.ciocca@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-04-26 11:52:42 +01:00
..
accel iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
adc staging: iio: Fix typo in iio 2014-04-23 21:44:41 +01:00
amplifiers
common iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
dac iio: dac: ad7303: remove an unneeded check 2014-02-03 21:44:42 +00:00
frequency
gyro iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
humidity iio: Add si7005 relative humidity and temperature sensor driver 2014-01-11 11:12:44 +00:00
imu iio: imu: inv_mpu6050: Add compatibity with MPU6500 2014-03-29 10:45:09 +00:00
light Merge 3.14-rc5 into staging-next 2014-03-02 20:12:54 -08:00
magnetometer iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
orientation
pressure iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
proximity iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00
temperature
trigger
buffer_cb.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
iio_core_trigger.h
iio_core.h
industrialio-buffer.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
industrialio-core.c iio:core: Fix bug in length of event info_mask and catch unhandled bits set in masks. 2014-03-16 18:00:35 +00:00
industrialio-event.c iio:core: Fix bug in length of event info_mask and catch unhandled bits set in masks. 2014-03-16 18:00:35 +00:00
industrialio-trigger.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
industrialio-triggered-buffer.c
inkern.c iio: inkern: add iio_read_channel_average_raw 2014-03-16 18:00:33 +00:00
Kconfig iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00
kfifo_buf.c
Makefile iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00