]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93f73f43a5a28cb2ff74b3cb7fa861180e8e3e55
tree7225872a2ae55f67b8274ce6ede356a348b3b29b
parentb6f91b54579bbd10777608ebed3f2d149f25af2d
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