driver core: Have fw_devlink use DL_FLAG_INFERRED
authorSaravana Kannan <saravanak@google.com>
Fri, 18 Dec 2020 03:17:01 +0000 (19:17 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jan 2021 20:03:14 +0000 (21:03 +0100)
commitb90fb8f66c617806a0548c273f562caea4741433
tree2f55e4f5cd98372af6cc2ca4a70b3bdd2ccc26d7
parent4b9bbb29baf6c948d24eaeff892815b8a403b64c
driver core: Have fw_devlink use DL_FLAG_INFERRED

This will be useful in identifying device links created only due to
fw_devlink when we need to break cyclic dependencies due to fw_devlink.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20201218031703.3053753-4-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c