summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2011-03-18 17:21:29 +0100
committerGrant Likely <grant.likely@secretlab.ca>2011-03-23 21:55:55 +0100
commita52f07ecd143baee51623b063be5007585748a4f (patch)
tree2d5b66d1074b412e21026af10dd16fb2a681ff62 /init
parentdt: Refactor of_platform_bus_probe() (diff)
downloadlinux-a52f07ecd143baee51623b063be5007585748a4f.tar.xz
linux-a52f07ecd143baee51623b063be5007585748a4f.zip
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions