Skip to content

Commit

Permalink
of: property: Delete of_devlink kernel commandline option
Browse files Browse the repository at this point in the history
With the addition of fw_devlink kernel commandline option, of_devlink is
redundant and not useful anymore. So, delete it.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20200222014038.180923-6-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Saravana Kannan authored and Greg Kroah-Hartman committed Mar 4, 2020
1 parent bc74900 commit e94f62b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3299,12 +3299,6 @@
This can be set from sysctl after boot.
See Documentation/admin-guide/sysctl/vm.rst for details.

of_devlink [OF, KNL] Create device links between consumer and
supplier devices by scanning the devictree to infer the
consumer/supplier relationships. A consumer device
will not be probed until all the supplier devices have
probed successfully.

ohci1394_dma=early [HW] enable debugging via the ohci1394 driver.
See Documentation/debugging-via-ohci1394.txt for more
info.
Expand Down
6 changes: 0 additions & 6 deletions drivers/of/property.c
Original file line number Diff line number Diff line change
Expand Up @@ -1299,15 +1299,9 @@ static int of_link_to_suppliers(struct device *dev,
return ret;
}

static bool of_devlink;
core_param(of_devlink, of_devlink, bool, 0);

static int of_fwnode_add_links(const struct fwnode_handle *fwnode,
struct device *dev)
{
if (!of_devlink)
return 0;

if (unlikely(!is_of_node(fwnode)))
return 0;

Expand Down

0 comments on commit e94f62b

Please sign in to comment.