]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdiobus: fwnode_mdiobus_register_phy() rework error handling
authorOleksij Rempel <o.rempel@pengutronix.de>
Mon, 3 Oct 2022 06:51:58 +0000 (08:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Oct 2022 00:33:56 +0000 (17:33 -0700)
commit927902c13e3b55929feb3c2f1b9eafdb9a5c486b
tree67d4c5cc7ea4b8caa737b0a45ab4de8a8f269182
parentae9fb374e89a32409c3736edb1758c342ead0bfa
net: mdiobus: fwnode_mdiobus_register_phy() rework error handling

Rework error handling as preparation for PSE patch. This patch should
make it easier to extend this function.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/mdio/fwnode_mdio.c