of: eliminate of_device->node and dev_archdata->{of,prom}_node
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 13 Apr 2010 23:12:56 +0000 (16:12 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 18 May 2010 22:10:45 +0000 (16:10 -0600)
commit58f9b0b02414062eaff46716bc04b47d7e79add5
treefa5265f4c37c2f4afb42a126f39cccc9602e06a2
parent61c7a080a5a061c976988fd4b844dfb468dda255
of: eliminate of_device->node and dev_archdata->{of,prom}_node

This patch eliminates the node pointer from struct of_device and the
of_node (or prom_node) pointer from struct dev_archdata since the node
pointer is now part of struct device proper when CONFIG_OF is set, and
all users of the old pointer locations have already been converted over
to use device->of_node.

Also remove dev_archdata_{get,set}_node() as it is no longer used by
anything.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
20 files changed:
arch/microblaze/include/asm/device.h
arch/microblaze/include/asm/of_device.h
arch/microblaze/kernel/of_device.c
arch/powerpc/include/asm/device.h
arch/powerpc/include/asm/of_device.h
arch/powerpc/kernel/of_device.c
arch/powerpc/kernel/pci-common.c
arch/powerpc/kernel/vio.c
arch/powerpc/platforms/cell/iommu.c
arch/powerpc/platforms/pasemi/setup.c
arch/powerpc/platforms/ps3/system-bus.c
arch/powerpc/platforms/pseries/iommu.c
arch/sparc/include/asm/device.h
arch/sparc/include/asm/of_device.h
arch/sparc/kernel/of_device_32.c
arch/sparc/kernel/of_device_64.c
arch/sparc/kernel/pci.c
drivers/of/of_i2c.c
drivers/of/of_mdio.c
drivers/of/of_spi.c