commit | 44504b2bebf8b5823c59484e73096a7d6574471d | [log] [tgz] |
---|---|---|
author | Grant Likely <grant.likely@secretlab.ca> | Tue Apr 13 16:13:22 2010 -0700 |
committer | Grant Likely <grant.likely@secretlab.ca> | Sat May 22 00:10:41 2010 -0600 |
tree | c4d901f026b499f6f0f5c64f4ecbdee297f5db1e | |
parent | 4018294b53d1dae026880e45f174c1cc63b5d435 [diff] |
of: change of_match_device to work with struct device The of_node pointer is now stored directly in struct device, so of_match_device() should work with any device, not just struct of_device. This patch changes the interface to of_match_device() to accept a struct device instead of struct of_device. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>