kernel_optimize_test/drivers
Grant Likely 2dc1158137 of/device: Replace struct of_device with struct platform_device
of_device is just an alias for platform_device, so remove it entirely.  Also
replace to_of_device() with to_platform_device() and update comment blocks.

This patch was initially generated from the following semantic patch, and then
edited by hand to pick up the bits that coccinelle didn't catch.

@@
@@
-struct of_device
+struct platform_device

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: David S. Miller <davem@davemloft.net>
2010-08-06 09:25:50 -06:00
..
accessibility
acpi
amba
ata of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
atm of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
auxdisplay
base
block of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
bluetooth
cdrom
char of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
clocksource
connector
cpufreq
cpuidle
crypto of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
dca
dio
dma of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
edac of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
eisa
firewire
firmware
gpio
gpu
hid
hwmon of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
i2c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
ide
idle
ieee1394
ieee802154
infiniband of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
input of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
isdn
leds of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
lguest
macintosh of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
mca
md
media of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
memstick
message
mfd
misc
mmc of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
mtd of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
net of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
nubus
of of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
oprofile
parisc
parport of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
pci
pcmcia of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
platform
pnp
power
pps
ps3
rapidio
regulator
rtc of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
s390
sbus of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
scsi of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
serial of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
sfi
sh
sn
spi of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
ssb
staging
tc
telephony
thermal
uio
usb of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
uwb
vhost
video of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
virtio
vlynq
w1
watchdog of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
xen
zorro
Kconfig
Makefile