fec_mpc52xx: fix error path
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 9 Jul 2010 06:44:26 +0000 (23:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jul 2010 06:44:26 +0000 (23:44 -0700)
commitfabc51a640b35a771b6c75d2186193fdaf25cf56
tree7437ca89bfb52f27a3dd25b93469b3c065de116d
parent7cc36f6f7116918c8a8990a0f23f62d2288a81bf
fec_mpc52xx: fix error path

Error path in mpc52xx_fec_probe() is broken.
We must free everything that we've allocated.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec_mpc52xx.c