]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit345b334d47cb7e79fe3cce1c949fa3f270da6421
tree3c825f7b8be6e9657975c798739db6901c7e8eaf
parenta325fe97c6c5a7a6353298d179835948b7fd2c1a
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