diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-03-18 10:21:29 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-23 14:55:56 -0600 |
commit | 1eed4c077c31450bfcd0249aebb21d96fc5d5d3c (patch) | |
tree | a5d7117d36989ea86b121ed53f711bfcbbbf8bd8 /drivers/of/of_spi.c | |
parent | a52f07ecd143baee51623b063be5007585748a4f (diff) |
dt: eliminate OF_NO_DEEP_PROBE and test for NULL match table
There are no users of OF_NO_DEEP_PROBE, and of_match_node() now
gracefully handles being passed a NULL pointer, so the checks at the
top of of_platform_bus_probe can be dropped.
While at it, consolidate the root node pointer check to be easier to
read and tidy up related comments.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of/of_spi.c')
0 files changed, 0 insertions, 0 deletions