iio: sensors-core: st: Support sensors which don't have a Data Ready pin
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Sep 2013 16:02:00 +0000 (17:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Sep 2013 18:24:03 +0000 (19:24 +0100)
commit38d1c6a9116bd9642ebcb027ac66305590aa8488
tree068330a74e5e4f649a7eced16256ffe6ff2c50ee
parent9d6c39867cc6cdfb6198ec83165b72e0f14ef8b6
iio: sensors-core: st: Support sensors which don't have a Data Ready pin

Not all ST's sensors support data ready, so let's make the declaration
of one conditional.

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