]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dt: eliminate OF_NO_DEEP_PROBE and test for NULL match table
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 18 Mar 2011 16:21:29 +0000 (10:21 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 23 Mar 2011 20:55:56 +0000 (14:55 -0600)
commit1eed4c077c31450bfcd0249aebb21d96fc5d5d3c
treea5d7117d36989ea86b121ed53f711bfcbbbf8bd8
parenta52f07ecd143baee51623b063be5007585748a4f
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>
drivers/of/platform.c
include/linux/of_platform.h