linux_dsm_epyc7002/drivers
Alexandru Ardelean d3be83244c iio: remove explicit IIO device parent assignment
This patch applies the semantic patch:
@@
expression I, P, SP;
@@
   I = devm_iio_device_alloc(P, SP);
   ...
-  I->dev.parent = P;

It updates 302 files and does 307 deletions.
This semantic patch also removes some comments like
'/* Establish that the iio_dev is a child of the i2c device */'

But this is is only done in case where the block is left empty.

The patch does not seem to cover all cases. It looks like in some cases a
different variable is used in some cases to assign the parent, but it
points to the same reference.
In other cases, the block covered by ... may be just too big to be covered
by the semantic patch.

However, this looks pretty good as well, as it does cover a big bulk of the
drivers that should remove the parent assignment.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-06-14 11:49:59 +01:00
..
accessibility
acpi More ACPI updates for 5.8-rc1 2020-06-10 14:09:08 -07:00
amba
android mmap locking API: convert mmap_sem API comments 2020-06-09 09:39:14 -07:00
ata
atm mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
auxdisplay
base linux-kselftest-kunit-5.8-rc1 2020-06-09 10:04:47 -07:00
bcma
block block-5.8-2020-06-11 2020-06-11 16:07:33 -07:00
bluetooth
bus
cdrom Merge branch 'work.sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-06-10 16:05:54 -07:00
char Merge branch 'work.sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-06-10 16:05:54 -07:00
clk This time around we have 4 lines of diff in the core framework, removing a 2020-06-10 11:42:19 -07:00
clocksource clocksource/drivers/timer-riscv: Use per-CPU timer interrupt 2020-06-09 19:11:22 -07:00
connector
counter iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
cpufreq More power management updates for 5.8-rc1 2020-06-10 14:04:39 -07:00
cpuidle
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2020-06-11 11:02:13 -07:00
dax
dca
devfreq
dio
dma dmaengine updates for v5.8-rc1 2020-06-10 11:03:04 -07:00
dma-buf DMA reservations: use the new mmap locking API 2020-06-09 09:39:14 -07:00
edac
eisa
extcon
firewire
firmware Rebase locking/kcsan to locking/urgent 2020-06-11 20:02:46 +02:00
fpga
fsi
gnss
gpio
gpu amdgpu: a NULL ->mm does not mean a thread is a kthread 2020-06-11 18:17:48 -07:00
greybus
hid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-06-10 13:51:47 -07:00
hsi
hv
hwmon
hwspinlock
hwtracing
i2c This time around we have 4 lines of diff in the core framework, removing a 2020-06-10 11:42:19 -07:00
i3c
ide
idle
iio iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
infiniband mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
input iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
interconnect More power management updates for 5.8-rc1 2020-06-10 14:04:39 -07:00
iommu mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
ipack
irqchip clocksource/drivers/timer-riscv: Use per-CPU timer interrupt 2020-06-09 19:11:22 -07:00
isdn
leds
lightnvm
macintosh mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
mailbox mailbox: qcom: Add ipq6018 apcs compatible 2020-06-10 22:43:57 -05:00
mcb
md
media mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
memory
memstick
message
mfd
misc virtio: features, fixes 2020-06-10 13:42:09 -07:00
mmc This time around we have 4 lines of diff in the core framework, removing a 2020-06-10 11:42:19 -07:00
most
mtd This pull request contains a single change for UBI: 2020-06-10 13:24:40 -07:00
mux
net virtio: features, fixes 2020-06-10 13:42:09 -07:00
nfc
ntb
nubus
nvdimm asm-generic: don't include <linux/mm.h> in cacheflush.h 2020-06-08 11:05:57 -07:00
nvme block-5.8-2020-06-11 2020-06-11 16:07:33 -07:00
nvmem
of
opp
oprofile mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
parisc
parport
pci s390 updates for the 5.8 merge window 2020-06-08 12:05:31 -07:00
pcmcia
perf arm64 merge window fixes for -rc1 2020-06-11 12:53:23 -07:00
phy
pinctrl This is the bulk of pin control changes for the v5.8 2020-06-07 16:13:43 -07:00
platform iio: core: pass parent device as parameter during allocation 2020-06-14 11:49:56 +01:00
pnp
power power supply and reset changes for the v5.8 series 2020-06-10 11:28:35 -07:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc remoteproc updates for v5.8 2020-06-08 13:01:08 -07:00
reset
rpmsg remoteproc updates for v5.8 2020-06-08 13:01:08 -07:00
rtc RTC for 5.8 2020-06-07 16:11:23 -07:00
s390 s390 updates for the 5.8 merge window 2020-06-08 12:05:31 -07:00
sbus mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
scsi mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
sfi
sh
siox
slimbus
soc remoteproc updates for v5.8 2020-06-08 13:01:08 -07:00
soundwire
spi
spmi
ssb
staging iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
target
tc
tee mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
thermal
thunderbolt
tty mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
uio
usb kernel: set USER_DS in kthread_use_mm 2020-06-10 19:14:18 -07:00
vdpa
vfio kernel: better document the use_mm/unuse_mm API contract 2020-06-10 19:14:18 -07:00
vhost Merge branch 'akpm' (patches from Andrew) 2020-06-11 13:25:53 -07:00
video mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
virt
virtio virtio_mem: convert device block size into 64bit 2020-06-09 06:42:06 -04:00
visorbus
vlynq
vme
w1
watchdog
xen Merge branch 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux 2020-06-10 14:46:54 -07:00
zorro
Kconfig
Makefile