android_kernel_motorola_sm6375/drivers/of
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Warren 50c8af4cf9 of: introduce for_each_matching_node_and_match()
The following pattern of code is tempting:

    for_each_matching_node(np, table) {
        match = of_match_node(table, np);

However, this results in iterating over table twice; the second time
inside of_match_node(). The implementation of for_each_matching_node()
already found the match, so this is redundant. Invent new function
of_find_matching_node_and_match() and macro
for_each_matching_node_and_match() to remove the double iteration,
thus transforming the above code to:

    for_each_matching_node_and_match(np, table, &match)

Signed-off-by: Stephen Warren <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2012-11-20 22:58:55 -06:00
..
address.c of/address: sparse fixes 2012-10-17 15:53:01 -05:00
base.c of: introduce for_each_matching_node_and_match() 2012-11-20 22:58:55 -06:00
device.c drivercore: Output common devicetree information in uevent 2012-02-01 14:26:30 -07:00
fdt.c of/fdt: NULL-terminate the root node path 2012-11-20 22:58:53 -06:00
irq.c of/irq: sparse fixes 2012-10-17 15:53:02 -05:00
Kconfig GPIO driver changes for v3.5 merge window 2012-05-24 14:01:46 -07:00
Makefile GPIO driver changes for v3.5 merge window 2012-05-24 14:01:46 -07:00
of_i2c.c of: i2c: add support for wakeup-source property 2012-09-07 15:30:14 -05:00
of_mdio.c netdev/phy/of: Handle IEEE802.3 clause 45 Ethernet PHYs in of_mdiobus_register() 2012-06-27 21:23:24 -07:00
of_mtd.c of: mtd: nuke useless const qualifier 2012-07-10 10:32:06 -05:00
of_net.c
of_pci.c
of_pci_irq.c OF: PCI: const usage needed by MIPS 2012-05-21 14:31:48 +01:00
pdt.c
platform.c of/platform: sparse fix 2012-10-17 15:53:03 -05:00
selftest.c