mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 00:40:03 +00:00
iio: adc: mp2629: Drop duplicate setting iio_dev.dev.parent
This is already set to the same value in devm_iio_device_alloc() Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Saravanan Sekar <sravanhome@gmail.com> Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com> Link: https://lore.kernel.org/r/20210426170251.351957-4-jic23@kernel.org
This commit is contained in:
parent
e42523c11f
commit
806e657b0f
1 changed files with 0 additions and 1 deletions
|
@ -144,7 +144,6 @@ static int mp2629_adc_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
indio_dev->name = "mp2629-adc";
|
||||
indio_dev->dev.parent = dev;
|
||||
indio_dev->channels = mp2629_channels;
|
||||
indio_dev->num_channels = ARRAY_SIZE(mp2629_channels);
|
||||
indio_dev->modes = INDIO_DIRECT_MODE;
|
||||
|
|
Loading…
Reference in a new issue