android_kernel_samsung_msm8976/drivers/of
Grant Likely 6016a363f6 of: unify phandle name in struct device_node
In struct device_node, the phandle is named 'linux_phandle' for PowerPC
and MicroBlaze, and 'node' for SPARC.  There is no good reason for the
difference, it is just an artifact of the code diverging over a couple
of years.  This patch renames both to simply .phandle.

Note: the .node also existed in PowerPC/MicroBlaze, but the only user
seems to be arch/powerpc/platforms/powermac/pfunc_core.c.  It doesn't
look like the assignment between .linux_phandle and .node is
significantly different enough to warrant the separate code paths
unless ibm,phandle properties actually appear in Apple device trees.

I think it is safe to eliminate the old .node property and use
phandle everywhere.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-01-28 14:06:53 -07:00
..
base.c of: Merge of_node_get() and of_node_put() 2010-01-28 13:52:53 -07:00
device.c OF-device: Don't overwrite numa_node in device registration 2008-10-31 16:12:01 +11:00
fdt.c of: unify phandle name in struct device_node 2010-01-28 14:06:53 -07:00
gpio.c of/gpio: Implement of_gpio_count() 2008-12-21 14:21:14 +11:00
Kconfig of/flattree: merge find_flat_dt_string and initial_boot_params 2009-11-23 14:53:09 -07:00
Makefile of/flattree: merge find_flat_dt_string and initial_boot_params 2009-11-23 14:53:09 -07:00
of_i2c.c drivers/of: Add the of_find_i2c_device_by_node function. 2009-01-09 15:49:06 -07:00
of_mdio.c of: Remove nested function 2009-10-15 09:58:27 -06:00
of_spi.c of/spi: Support specifying chip select as active high via device tree 2008-10-20 23:34:01 -05:00
platform.c [POWERPC] Create modalias file in sysfs for of_platform bus 2008-05-14 22:31:28 +10:00