of: merge of_find_node_by_phandle
authorJeremy Kerr <jeremy.kerr@canonical.com>
Tue, 2 Feb 2010 04:34:11 +0000 (21:34 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 9 Feb 2010 15:32:48 +0000 (08:32 -0700)
commit89751a7cb70a20f0d604dd7c4be29dd7b0011718
tree17abed1974c3c79c978b20bd396078df80f19f40
parentfcdeb7fedf89f4bbc2e11959794968080cd8426e
of: merge of_find_node_by_phandle

Merge common function between powerpc, sparc and microblaze. Code is
identical for powerpc and microblaze, but adds a lock (and release) of
the devtree_lock on sparc.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/microblaze/kernel/prom.c
arch/powerpc/kernel/prom.c
arch/sparc/kernel/prom_common.c
drivers/of/base.c