net: xilinx: fix memleak
authorLibo Chen <clbchenlibo.chen@huawei.com>
Mon, 26 Aug 2013 03:30:55 +0000 (11:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Aug 2013 22:24:31 +0000 (18:24 -0400)
commit282a1dffc1b9976cdf1b0eea3f6f68fda23a7c7e
tree5402552e864e2b1173f924235bf80a0749ee1ef3
parent03803a59e32453ee5737c6096a295f748f03cc49
net: xilinx: fix memleak

decrease device_node refcount np1 in err case.

Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c