]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: gem: unregister mdio bus if probe fails
authorMichael Walle <michael@walle.cc>
Wed, 10 Feb 2021 21:41:57 +0000 (22:41 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 11 Feb 2021 18:06:44 +0000 (19:06 +0100)
commit038e02455bbc18d34946fdfe77faf2062adc3e2a
tree173b486c0aa73158270639aa4e3c4fef1836cbde
parent98757d87ee04cd8f57e9f2d6a8017a1d1a4ea646
net: gem: unregister mdio bus if probe fails

If probe fails, the mdio bus isn't unregistered. Fix it.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c