]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Revert "of/platform: Don't create device links for default busses"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2019 19:40:17 +0000 (21:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2019 19:40:17 +0000 (21:40 +0200)
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>
drivers/of/platform.c

index 21838226d68adb23f5912f290214fa3166e1fae7..52590fb20422118698b4dd38ef909a7b30de5af6 100644 (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);
 }