brcm47xx: b44: fix error handling for dummy phy creation
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 25 Oct 2013 21:12:48 +0000 (21:12 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 25 Oct 2013 21:12:48 +0000 (21:12 +0000)
commit811e48a5b33d0fa55b81c0a15131cc91a81e6090
treee68b83bb0b1b1d5d0f39ae269e3afc0866d5ef35
parent3dadeaf6688d97489ca9b56166e42e6603ca5ef7
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38539 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm47xx/patches-3.10/208-b44-add-dummy-phy-device-if-we-do-not-find-any.patch