iio: dac: ad5766: Drop duplicate setting of iio_dev.dev.parent and of_node
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 26 Apr 2021 17:02:45 +0000 (18:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 May 2021 12:49:12 +0000 (13:49 +0100)
commite42523c11f2a182a0969b0e7462337fc190f8ca2
treed46690a0b0ec553184fce9abdbf444781c1dc4c3
parentcb25d770cf9d3c4071693912bee9a48126072649
iio: dac: ad5766: Drop duplicate setting of iio_dev.dev.parent and of_node

This is set to the same value in devm_iio_device_alloc() so no need to do
it again.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Cristian Pop <cristian.pop@analog.com>
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Link: https://lore.kernel.org/r/20210426170251.351957-3-jic23@kernel.org
drivers/iio/dac/ad5766.c