1
0
Fork 0
alistair23-linux/drivers/of
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
..
Kconfig proc: unify PROC_DEVICETREE config 2010-07-05 16:46:43 -06:00
Makefile of/address: merge of_iomap() 2010-07-05 16:14:26 -06:00
address.c of: Use full node name in resource structures 2010-07-05 16:14:27 -06:00
base.c of: Fix phandle endian issues 2010-07-24 16:51:52 -06:00
device.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
fdt.c of: Fix phandle endian issues 2010-07-24 16:51:52 -06:00
gpio.c of/gpio: fix of_gpio includes 2010-07-05 16:14:44 -06:00
irq.c of/irq: Fix endian issues in parsing interrupt specifiers 2010-07-24 16:51:52 -06:00
of_i2c.c of/i2c: Generalize OF support 2010-07-05 16:14:52 -06:00
of_mdio.c of/irq: Move irq_of_parse_and_map() to common code 2010-06-28 12:41:33 -07:00
of_spi.c of/spi: call of_register_spi_devices() from spi core code 2010-07-30 00:03:59 -06:00
platform.c of/platform: Register of_platform_drivers with an "of:" prefix 2010-08-01 01:44:18 -06:00