]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio: Delete usage of driver_deferred_probe_check_state()
authorSaravana Kannan <saravanak@google.com>
Wed, 1 Jun 2022 07:06:59 +0000 (00:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 13:57:54 +0000 (15:57 +0200)
commitd9126a6b7abe7c89beee648b7435c84267d0f752
tree224cf0af1d5577ede256eb6e7ae3872aa823a479
parent31912aacce52462db0ac0ca8e9467474b2c69a51
net: mdio: Delete usage of driver_deferred_probe_check_state()

Now that fw_devlink=on by default and fw_devlink supports interrupt
properties, the execution will never get to the point where
driver_deferred_probe_check_state() is called before the supplier has
probed successfully or before deferred probe timeout has expired.

So, delete the call and replace it with -ENODEV.

Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20220601070707.3946847-4-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/mdio/fwnode_mdio.c