Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt: protect against NULL matches passed to of_match_node()
There are a few use cases where it is convenient to pass NULL to of_match_node() and have it fail gracefully. The patch adds a null check to the beginning so taht it does so. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
- Loading branch information