fsl_pq_mdio: Fix mdiobus allocation handling
authorAnton Vorontsov <avorontsov@mvista.com>
Fri, 14 May 2010 04:27:30 +0000 (04:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 00:44:46 +0000 (17:44 -0700)
commit08d18f3b62b4c05731a09eca2b432842a0a18da5
tree7225872a2ae55f67b8274ce6ede356a348b3b29b
parenta2f79227138c71e08627af5f8961197364edbc98
fsl_pq_mdio: Fix mdiobus allocation handling

The driver could return success code even if mdiobus_alloc() failed.
This patch fixes the issue.

Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fsl_pq_mdio.c