linux/drivers/of
Stephen Warren 91d9942c28 of: call __of_parse_phandle_with_args from of_parse_phandle
The simplest case of __of_parse_phandle_with_args() now implements the
semantics of of_parse_phandle(). Rewrite of_parse_phandle() to call
__of_parse_phandle_with_args() rather than open-coding the simple case.

Optimize __of_parse_phandle_with_args() so that it doesn't call
of_find_node_by_phandle() except when it's strictly needed. This avoids
introducing too much overhead when replacing of_parse_phandle().

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
2013-08-29 21:40:23 +01:00
..
address.c Device tree updates for v3.11 2013-07-04 15:51:45 -07:00
base.c of: call __of_parse_phandle_with_args from of_parse_phandle 2013-08-29 21:40:23 +01:00
device.c of: Output devicetree alias names in uevent 2013-02-06 11:06:35 +00:00
fdt.c of: consolidate definition of early_init_dt_alloc_memory_arch() 2013-08-28 21:18:32 +01:00
irq.c of/irq: init struct resource to 0 in of_irq_to_resource() 2013-07-22 19:40:38 +01:00
Kconfig of: remove CONFIG_OF_DEVICE 2013-06-12 12:37:40 +01:00
Makefile of: remove CONFIG_OF_DEVICE 2013-06-12 12:37:40 +01:00
of_i2c.c of_i2c: Honour "status=disabled" property of device 2012-11-29 17:28:08 +00:00
of_mdio.c net: of_mdio: fix behavior on missing phy device 2013-05-08 13:13:29 -07:00
of_mtd.c of: mtd: nuke useless const qualifier 2012-07-10 10:32:06 -05:00
of_net.c of: Make of_get_phy_mode() return int i.s.o. const int 2013-08-28 20:50:19 +01:00
of_pci_irq.c OF: PCI: const usage needed by MIPS 2012-05-21 14:31:48 +01:00
of_pci.c of/pci: Add of_pci_parse_bus_range() function 2013-05-19 20:30:10 +00:00
of_private.h of: Output devicetree alias names in uevent 2013-02-06 11:06:35 +00:00
pdt.c open firmware: "/aliasas" -> "/aliases" 2013-06-18 13:46:26 +02:00
platform.c of/platform: Staticize of_platform_device_create_pdata() 2013-07-24 11:10:11 +01:00
selftest.c of: Create function for counting number of phandles in a property 2013-02-13 10:09:31 +00:00