summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-04-26 19:02:48 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-05-17 14:49:12 +0200
commit9eb04878e4af245f0988de7800e32ec958a997a0 (patch)
tree6a40edb882ac4f2ff2a4c39639881542ad5ef71c /drivers/iio/adc
parentiio: adc: mt6360: Drop duplicate setting of iio_dev.dev.parent (diff)
downloadlinux-9eb04878e4af245f0988de7800e32ec958a997a0.tar.xz
linux-9eb04878e4af245f0988de7800e32ec958a997a0.zip
iio: adc: ti-ads131e08: Drop duplicate setting of iio_dev.dev.parent
Already set to same value in devm_iio_device_alloc() Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Tomislav Denis <tomislav.denis@avl.com> Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com> Link: https://lore.kernel.org/r/20210426170251.351957-6-jic23@kernel.org
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r--drivers/iio/adc/ti-ads131e08.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/ti-ads131e08.c b/drivers/iio/adc/ti-ads131e08.c
index 764dab087b41..2c20dbed8ada 100644
--- a/drivers/iio/adc/ti-ads131e08.c
+++ b/drivers/iio/adc/ti-ads131e08.c
@@ -830,7 +830,6 @@ static int ads131e08_probe(struct spi_device *spi)
return ret;
indio_dev->name = st->info->name;
- indio_dev->dev.parent = &spi->dev;
indio_dev->info = &ads131e08_iio_info;
indio_dev->modes = INDIO_DIRECT_MODE;