From: Greg Kroah-Hartman Date: Tue, 27 Aug 2019 19:40:17 +0000 (+0200) Subject: Revert "of/platform: Don't create device links for default busses" X-Git-Tag: v5.4-rc1~137^2~12 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=40e05e6acdc07f1a513f206c1a8c5fce16ae5a81;p=linux.git 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 Cc: Saravana Kannan Signed-off-by: Greg Kroah-Hartman --- 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); }