]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "of: search the best compatible match first in __of_match_node()"
authorKevin Hao <haokexin@gmail.com>
Tue, 18 Feb 2014 07:57:29 +0000 (15:57 +0800)
committerGrant Likely <grant.likely@linaro.org>
Tue, 18 Feb 2014 22:32:09 +0000 (22:32 +0000)
commit08ab38fa848604ec61d8867a4a7aab1de5ab3207
treeeb4ed428ce97129e7245c26d0acf05c2a9eb9536
parent75433508aa6ee75b1104c78b69052b0c95b8fb23
Revert "of: search the best compatible match first in __of_match_node()"

This reverts commit a28ce1b1750cf9b9e25a7238a28b2934433c99a0.
As pointed out by Grant Likely, we should also take the type and name
into account when searching the best compatible match. That means the
match with compatible, type and name should be better than the match
just with the same compatible string. So revert this and we will
implement another method to find the best match entry.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/base.c