WSL2-Linux-Kernel/drivers/staging/iio
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
..
Documentation iio: core: pass parent device as parameter during allocation 2020-06-14 11:49:56 +01:00
accel iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
adc iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
addac iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
cdc iio: remove left-over comments about parent assignment 2020-06-14 11:50:00 +01:00
frequency iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
impedance-analyzer iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
meter
resolver iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Kconfig
Makefile
TODO staging: iio: update TODO 2020-03-08 17:28:43 +00:00