mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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
This commit is contained in:
parent
85493b9ae8
commit
9eb04878e4
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue