Skip to content
Commit 44504b2b authored by Grant Likely's avatar Grant Likely
Browse files

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: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 4018294b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment