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)
commit0e9f84cf2448f264d750ba6310de6a601ef64076
treee68b83bb0b1b1d5d0f39ae269e3afc0866d5ef35
parent1a8c132b0327c67c02430327371ef84b1a8b8d01
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