]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31a0194411547552b90ed86a6cb3d8b6ca83dd83
treed46690a0b0ec553184fce9abdbf444781c1dc4c3
parent9350e0a3078ab14eb262cfd48bb593d78efec97b
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