OpenCloudOS-Kernel/drivers/iio/amplifiers
Alexandru Ardelean 8f73a13f74 iio: remove left-over parent assignments
These were found by doing some shell magic:
------------
for file in $(git grep -w devm_iio_device_alloc | cut -d: -f1 | sort | uniq) ; do
	if grep 'parent =' $file | grep -v trig | grep -vq devm_; then
		echo "$file -> $(grep "parent =" $file)"
	fi
done
-----------

The output is bearable [after the semantic patch is applied].
There is a mix of trigger assignments with some iio device parent
assignments that are removed via this patch.

JC: A few more added via inspection of all parent =
statements in drivers/iio. Some of these may just have crossed with this
series, others were less obvious to scripting due to some cross
file / module boundary calls.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-06-14 11:50:04 +01:00
..
Kconfig iio: amplifiers: hmc425a: Add support for HMC425A attenuator 2020-03-08 17:28:21 +00:00
Makefile iio: amplifiers: hmc425a: Add support for HMC425A attenuator 2020-03-08 17:28:21 +00:00
ad8366.c iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
hmc425a.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00