summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/ad7091r-base.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-06-03 12:59:59 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-15 22:07:10 +0100
commitec25bb6e84a090da9c5c397c8af962dcb2e1c664 (patch)
treebfb0cdebd5e3486a1405a5c672e015728a5a33cd /drivers/iio/adc/ad7091r-base.c
parent5a3ec28adafd2d1055162e52d2cb4d37a8391615 (diff)
iio: adc: meson_saradc: Don't attach managed resource to IIO device object
It feels wrong and actually inconsistent to attach managed resources to the IIO device object, which is child of the physical device object. The rest of the ->probe() calls do that against physical device. Resolve this by reassigning managed resources to the physical device object. Suggested-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Link: https://lore.kernel.org/r/20220603100004.70336-1-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ad7091r-base.c')
0 files changed, 0 insertions, 0 deletions