Revert "of/platform: Don't create device links for default busses"

This reverts commit b3173c2292.

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>
This commit is contained in:
Greg Kroah-Hartman 2019-08-27 21:40:17 +02:00
parent f6680a66a3
commit 40e05e6acd

View File

@ -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);
}