aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-27 21:40:17 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-27 21:40:17 +0200
commit40e05e6acdc07f1a513f206c1a8c5fce16ae5a81 (patch)
treedb48ac88cb4c0e8fdebe552376328cf9bfca515e /drivers
parentRevert "of/platform: Fix fn definitons for of_link_is_valid() and of_link_property()" (diff)
downloadlinux-dev-40e05e6acdc07f1a513f206c1a8c5fce16ae5a81.tar.xz
linux-dev-40e05e6acdc07f1a513f206c1a8c5fce16ae5a81.zip
Revert "of/platform: Don't create device links for default busses"
This reverts commit b3173c2292fbaf24ff7062d366830b012ed04269. Based on a lot of email and in-person discussions, this patch series is being reworked to address a number of issues that were pointed out that needed to be taken care of before it should be merged. It will be resubmitted with those changes hopefully soon. Cc: Frank Rowand <frowand.list@gmail.com> Cc: Saravana Kannan <saravanak@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/of/platform.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index 21838226d68a..52590fb20422 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -677,8 +677,6 @@ static int of_link_to_suppliers(struct device *dev)
return 0;
if (unlikely(!dev->of_node))
return 0;
- if (of_match_node(of_default_bus_match_table, dev->of_node))
- return 0;
return __of_link_to_suppliers(dev, dev->of_node);
}