summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/mcdi.h
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-08-01 19:30:03 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-03 03:40:52 +0400
commitae29223eaf0ecf4c701457a6b40d7b8f19c90413 (patch)
tree2473a7f40b6f9e80adbaf67b2a0b535ef24a948e /drivers/net/ethernet/sfc/mcdi.h
parent54789983d14c00c80933beb782205df2a6c59afc (diff)
downloadlinux-ae29223eaf0ecf4c701457a6b40d7b8f19c90413.tar.xz
net: dnet: Use managed interfaces
This patch introduces the use of managed interfaces like devm_ioremap_resource and does away with the calls to free the allocated memory in the probe and remove functions. Also, some labels and variable are done away with. This fixes a bug as there was a missing release_mem_region 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/sfc/mcdi.h')
0 files changed, 0 insertions, 0 deletions