of: merge of_node_get(), of_node_put() and of_find_all_nodes()
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Oct 2009 16:58:02 +0000 (10:58 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Oct 2009 16:58:02 +0000 (10:58 -0600)
commit526b5b3ed97bac22ed0c9feed97adcdc3a25244c
tree73ef4a838e5deb9c9865a5ce789d08ac567e9edf
parentb6caf2ad7ce30648b89c1cf40d8f7cf6f4b58033
of: merge of_node_get(), of_node_put() and of_find_all_nodes()

Merge common code between Sparc, PowerPC and Microblaze.

Sparc differs in the implementation at this point, so this patch uses
a #ifdef to handle sparc differently for now.  The merging of
implementations will occur in a later patch

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/microblaze/include/asm/prom.h
arch/powerpc/include/asm/prom.h
arch/sparc/include/asm/prom.h
include/linux/of.h