summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/ssp_accel_sensor.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/ssp_accel_sensor.c')
-rw-r--r--drivers/iio/accel/ssp_accel_sensor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/ssp_accel_sensor.c b/drivers/iio/accel/ssp_accel_sensor.c
index c32647abce20..3102b507e22a 100644
--- a/drivers/iio/accel/ssp_accel_sensor.c
+++ b/drivers/iio/accel/ssp_accel_sensor.c
@@ -108,7 +108,6 @@ static int ssp_accel_probe(struct platform_device *pdev)
spd->type = SSP_ACCELEROMETER_SENSOR;
indio_dev->name = ssp_accel_device_name;
- indio_dev->dev.parent = &pdev->dev;
indio_dev->dev.of_node = pdev->dev.of_node;
indio_dev->info = &ssp_accel_iio_info;
indio_dev->modes = INDIO_BUFFER_SOFTWARE;