summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/st_pressure_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/pressure/st_pressure_spi.c')
-rw-r--r--drivers/iio/pressure/st_pressure_spi.c1
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);