Re: [PATCH v3 2/4] of: reimplement the matching method for __of_match_node()

2014-02-19 Thread Grant Likely
On Wed, 19 Feb 2014 16:15:45 +0800, Kevin Hao wrote: > In the current implementation of __of_match_node(), it will compare > each given match entry against all the node's compatible strings > with of_device_is_compatible(). > > To achieve multiple compatible strings per node with ordering from >

Re: [PATCH v3 2/4] of: reimplement the matching method for __of_match_node()

2014-02-19 Thread Grant Likely
On Wed, 19 Feb 2014 16:15:45 +0800, Kevin Hao wrote: > In the current implementation of __of_match_node(), it will compare > each given match entry against all the node's compatible strings > with of_device_is_compatible(). > > To achieve multiple compatible strings per node with ordering from >

[PATCH v3 2/4] of: reimplement the matching method for __of_match_node()

2014-02-19 Thread Kevin Hao
In the current implementation of __of_match_node(), it will compare each given match entry against all the node's compatible strings with of_device_is_compatible(). To achieve multiple compatible strings per node with ordering from specific to generic, this requires given matches to be ordered fro