cirrus: cs89x0: Use managed interfaces
authorHimangi Saraogi <himangi774@gmail.com>
Fri, 1 Aug 2014 15:28:19 +0000 (20:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Aug 2014 23:40:52 +0000 (16:40 -0700)
commit6751edeb870034d95dc227716863c4e5572e35b6
tree3c825f7b8be6e9657975c798739db6901c7e8eaf
parent0f76b9d83b2b010b63a094024b3cfd82e20af28d
cirrus: cs89x0: Use managed interfaces

This patch introduces the use of managed interfaces like
devm_ioremap_resource and does away with the functions to free the
allocated memory in the probe and remove functions. Also, many labels
are done away with. The field size in no longer needed and is hence
removed from the struct net_local.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cirrus/cs89x0.c