summaryrefslogtreecommitdiff
path: root/drivers/iio/potentiometer/max5432.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/potentiometer/max5432.c')
-rw-r--r--drivers/iio/potentiometer/max5432.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/max5432.c b/drivers/iio/potentiometer/max5432.c
index 641b1821fdf6..280de9c54471 100644
--- a/drivers/iio/potentiometer/max5432.c
+++ b/drivers/iio/potentiometer/max5432.c
@@ -102,7 +102,6 @@ static int max5432_probe(struct i2c_client *client,
data->client = client;
data->ohm = (unsigned long)of_device_get_match_data(dev);
- indio_dev->dev.parent = dev;
indio_dev->info = &max5432_info;
indio_dev->channels = max5432_channels;
indio_dev->num_channels = ARRAY_SIZE(max5432_channels);