summaryrefslogtreecommitdiff
path: root/drivers/iio/common/scmi_sensors/scmi_iio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/common/scmi_sensors/scmi_iio.c')
-rw-r--r--drivers/iio/common/scmi_sensors/scmi_iio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/common/scmi_sensors/scmi_iio.c b/drivers/iio/common/scmi_sensors/scmi_iio.c
index 141e8aa6911e..7cf2bf282cef 100644
--- a/drivers/iio/common/scmi_sensors/scmi_iio.c
+++ b/drivers/iio/common/scmi_sensors/scmi_iio.c
@@ -525,7 +525,6 @@ scmi_alloc_iiodev(struct scmi_device *sdev,
return ERR_PTR(-ENOMEM);
iiodev->modes = INDIO_DIRECT_MODE;
- iiodev->dev.parent = dev;
sensor = iio_priv(iiodev);
sensor->sensor_ops = ops;
sensor->ph = ph;