summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/ssp_gyro_sensor.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/gyro/ssp_gyro_sensor.c')
-rw-r--r--drivers/iio/gyro/ssp_gyro_sensor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/gyro/ssp_gyro_sensor.c b/drivers/iio/gyro/ssp_gyro_sensor.c
index 4e4ee4167544..ac7c170a20de 100644
--- a/drivers/iio/gyro/ssp_gyro_sensor.c
+++ b/drivers/iio/gyro/ssp_gyro_sensor.c
@@ -108,7 +108,6 @@ static int ssp_gyro_probe(struct platform_device *pdev)
spd->type = SSP_GYROSCOPE_SENSOR;
indio_dev->name = ssp_gyro_name;
- indio_dev->dev.parent = &pdev->dev;
indio_dev->info = &ssp_gyro_iio_info;
indio_dev->modes = INDIO_BUFFER_SOFTWARE;
indio_dev->channels = ssp_gyro_channels;