brcm47xx: b44: fix error handling for dummy phy creation
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 25 Oct 2013 21:12:48 +0000 (21:12 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 25 Oct 2013 21:12:48 +0000 (21:12 +0000)
commit40790e6b84c22a3dcd161690436eaf5061eae298
tree75a3766b59a96f8563cb4f2598ff38ccf772ac81
parentc185d48b7cfdc88e7cc40ba46b8bfff65bd0af7c
brcm47xx: b44: fix error handling for dummy phy creation

When the mdio bus is unregistered the newly created phy will also be
unregistered and freed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38539
target/linux/brcm47xx/patches-3.10/208-b44-add-dummy-phy-device-if-we-do-not-find-any.patch