of: add of_parse_phandle() helper for parsing phandle properties
authorGrant Likely <grant.likely@secretlab.ca>
Sat, 25 Apr 2009 12:52:40 +0000 (12:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 09:53:45 +0000 (02:53 -0700)
commit739649c53d7f78f5bf41bdfd1a858ee90c7a687a
tree0e11496435be0cab44c7eaab37964a7c74bd3187
parentedf391ff17232f097d72441c9ad467bcb3b5db18
of: add of_parse_phandle() helper for parsing phandle properties

of_parse_phandle() is a helper function to read and parse a phandle
property and return a pointer to the resulting device_node.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/base.c
include/linux/of.h