of/flattree: Add of_flat_dt_match() helper function
authorGrant Likely <grant.likely@secretlab.ca>
Sat, 30 Oct 2010 15:49:09 +0000 (11:49 -0400)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 1 Jan 2011 20:03:25 +0000 (13:03 -0700)
This patch adds of_flat_dt_match() which tests a node for
compatibility with a list of values and converts the relevant powerpc
platform code to use it.  This approach simplifies the board support
code a bit.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>

No differences found