summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/ad7476.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-07-21 13:24:07 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-22 14:36:23 +0100
commit8525df47b3d1eaa9a2206964f63f71a2f48dc7c1 (patch)
treec225fa1ed6df9941e33e402bb06100cc56a59f74 /drivers/iio/adc/ad7476.c
parent951ad4700313984a45c95a33ec6abba6b3054525 (diff)
iio: core: fix/re-introduce back parent assignment
This was introduced initially via commit 78289b4a58b58 ("iio: core: pass parent device as parameter during allocation"), but was accidentally removed via commit 6d4ebd565d15f ("iio: core: wrap IIO device into an iio_dev_opaque object"). This looks like a rebase gone wrong, and ends up breaking devicetree bindings of IIO clients. This change adds back the parent assignment. Fixes 6d4ebd565d15f: ("iio: core: wrap IIO device into an iio_dev_opaque object") Reported-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Tested-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ad7476.c')
0 files changed, 0 insertions, 0 deletions