tmp_suning_uos_patched/drivers/iio/health
Alison Schofield a5badd1e97 iio: health: afe4403: retrieve a valid iio_dev in suspend/resume
The suspend/resume functions were using dev_to_iio_dev() to get
the iio_dev. That only works on IIO dev's.  Replace it with spi
functions to get the correct iio_dev.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Acked-by: Andrew F. Davis <afd@ti.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-01-21 13:11:06 +00:00
..
afe440x.h iio: health/afe440x: Use regmap fields 2016-05-04 11:10:38 +01:00
afe4403.c iio: health: afe4403: retrieve a valid iio_dev in suspend/resume 2017-01-21 13:11:06 +00:00
afe4404.c iio: health/afe4404: ENSEPGAIN is part of CONTROL2 register 2016-05-04 11:14:16 +01:00
Kconfig
Makefile
max30100.c iio: health: max30100: correct FIFO check condition 2016-03-28 10:09:58 +01:00