Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

of: property: Delete of_devlink kernel commandline option

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>

authored by

Saravana Kannan and committed by
Greg Kroah-Hartman
e94f62b7 bc749007

-12
-6
Documentation/admin-guide/kernel-parameters.txt
··· 3299 3299 This can be set from sysctl after boot. 3300 3300 See Documentation/admin-guide/sysctl/vm.rst for details. 3301 3301 3302 - of_devlink [OF, KNL] Create device links between consumer and 3303 - supplier devices by scanning the devictree to infer the 3304 - consumer/supplier relationships. A consumer device 3305 - will not be probed until all the supplier devices have 3306 - probed successfully. 3307 - 3308 3302 ohci1394_dma=early [HW] enable debugging via the ohci1394 driver. 3309 3303 See Documentation/debugging-via-ohci1394.txt for more 3310 3304 info.
-6
drivers/of/property.c
··· 1299 1299 return ret; 1300 1300 } 1301 1301 1302 - static bool of_devlink; 1303 - core_param(of_devlink, of_devlink, bool, 0); 1304 - 1305 1302 static int of_fwnode_add_links(const struct fwnode_handle *fwnode, 1306 1303 struct device *dev) 1307 1304 { 1308 - if (!of_devlink) 1309 - return 0; 1310 - 1311 1305 if (unlikely(!is_of_node(fwnode))) 1312 1306 return 0; 1313 1307