diff options
author | Denis CIOCCA <denis.ciocca@st.com> | 2014-10-03 17:35:41 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-04 12:26:21 +0200 |
commit | 7be178bb48bc3ed5af2f6cfdb69074dba4bd87b9 (patch) | |
tree | d496c59b2d909757276601a35c722b830f81e955 /drivers/iio/pressure/st_pressure_spi.c | |
parent | iio:pressure: Changed pressure data variable name to press_data (diff) | |
download | linux-7be178bb48bc3ed5af2f6cfdb69074dba4bd87b9.tar.xz linux-7be178bb48bc3ed5af2f6cfdb69074dba4bd87b9.zip |
iio:common: Set the device pointer into ST common sensors library
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/st_pressure_spi.c')
-rw-r--r-- | drivers/iio/pressure/st_pressure_spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/pressure/st_pressure_spi.c b/drivers/iio/pressure/st_pressure_spi.c index 10c96245f12a..1ffa6d4d349c 100644 --- a/drivers/iio/pressure/st_pressure_spi.c +++ b/drivers/iio/pressure/st_pressure_spi.c @@ -29,7 +29,6 @@ static int st_press_spi_probe(struct spi_device *spi) return -ENOMEM; press_data = iio_priv(indio_dev); - press_data->dev = &spi->dev; st_sensors_spi_configure(indio_dev, spi, press_data); |