mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
Revert "of/platform: Fix fn definitons for of_link_is_valid() and of_link_property()"
This reverts commit 0ad0bdd8ba.
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:
parent
8ef4df5ae1
commit
f6680a66a3
|
|
@ -506,7 +506,7 @@ int of_platform_default_populate(struct device_node *root,
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(of_platform_default_populate);
|
||||
|
||||
static bool of_link_is_valid(struct device_node *con, struct device_node *sup)
|
||||
bool of_link_is_valid(struct device_node *con, struct device_node *sup)
|
||||
{
|
||||
of_node_get(sup);
|
||||
/*
|
||||
|
|
@ -625,7 +625,7 @@ static const struct supplier_bindings bindings[] = {
|
|||
{ },
|
||||
};
|
||||
|
||||
static int of_link_property(struct device *dev, struct device_node *con_np,
|
||||
static bool of_link_property(struct device *dev, struct device_node *con_np,
|
||||
const char *prop)
|
||||
{
|
||||
struct device_node *phandle;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user