aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/dnet.c
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-08-01 20:59:13 +0530
committerDavid S. Miller <davem@davemloft.net>2014-08-02 16:40:52 -0700
commit54789983d14c00c80933beb782205df2a6c59afc (patch)
tree740721faa0e425df49426b383d83d97cae249713 /drivers/net/ethernet/dnet.c
parentcirrus: cs89x0: Use managed interfaces (diff)
downloadlinux-dev-54789983d14c00c80933beb782205df2a6c59afc.tar.xz
linux-dev-54789983d14c00c80933beb782205df2a6c59afc.zip
net: ks8851-ml: Use devm_ioremap_resource
This patch introduces the use of devm_ioremap_resource, devm_kmalloc and does away with the functions to free the allocated memory in the probe and remove functions. Also, some labels are done away with. A bug is fixed as two regions are allocated in the probe function, but only one is freed in the remove function. 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>
Diffstat (limited to 'drivers/net/ethernet/dnet.c')
0 files changed, 0 insertions, 0 deletions