Grant Likely 1f42e5dd50 of: Add self test for of_match_node()
Adds a selftest function for the of_match_node function. of_match_node
is supposed to handle precedence for the compatible property as well as
the name and device_type values. This patch adds some test case data and
a function that makes sure each test node matches against the correct
entry of an of_device_id table.

This code was written to verify the new of_match_node() implementation
that is an earlier part of this series.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Kevin Hao <haokexin@gmail.com>
2014-02-20 11:52:09 +00:00
..
2014-02-17 12:42:45 -08:00
2014-02-14 16:13:00 -08:00
2014-02-14 10:40:47 +01:00
2014-01-29 20:00:13 -08:00
2014-02-14 12:48:16 -08:00
2014-01-25 13:19:10 -08:00
2014-02-14 16:13:00 -08:00
2014-01-26 11:00:41 -08:00
2014-02-14 10:33:45 -08:00
2014-02-20 11:52:09 +00:00
2014-02-14 10:32:28 -08:00
2014-01-15 14:51:22 -08:00
2014-01-27 08:15:51 -08:00
2014-02-14 16:14:11 -08:00
2014-02-13 11:12:00 -08:00
2014-01-22 22:24:35 -08:00
2014-02-12 12:28:05 -08:00