sxgbe: fix driver probe error path and driver removal leaks
authorfrançois romieu <romieu@fr.zoreil.com>
Wed, 2 Apr 2014 23:13:43 +0000 (01:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2014 18:36:29 +0000 (14:36 -0400)
commitd9bd6461681c78fbe18087c20b4bb47845cd5564
treea71e38bfd17a386029d3f76c8b3ebf3ce133ef1c
parent56c8b193ea7052d191c344ef9196bb8d759e1abf
sxgbe: fix driver probe error path and driver removal leaks

sxgbe_drv_probe:  mdio and priv->hw leaks
sxgbe_drv_remove: clk and priv->hw leaks

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Acked-by: Byungho An <bh74.an@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c