From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> This is already set to the same value in devm_iio_device_alloc() Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Cc: Jyoti Bhayana <jbhayana@xxxxxxxxxx> --- drivers/iio/common/scmi_sensors/scmi_iio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/common/scmi_sensors/scmi_iio.c b/drivers/iio/common/scmi_sensors/scmi_iio.c index 63e4cec9de5e..16f0526ff01a 100644 --- a/drivers/iio/common/scmi_sensors/scmi_iio.c +++ b/drivers/iio/common/scmi_sensors/scmi_iio.c @@ -544,7 +544,6 @@ static struct iio_dev *scmi_alloc_iiodev(struct device *dev, return ERR_PTR(-ENOMEM); iiodev->modes = INDIO_DIRECT_MODE; - iiodev->dev.parent = dev; sensor = iio_priv(iiodev); sensor->handle = handle; sensor->sensor_info = sensor_info; -- 2.31.1