From: Himangi Saraogi Date: Fri, 1 Aug 2014 15:30:03 +0000 (+0530) Subject: net: dnet: Use managed interfaces X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae29223eaf0ecf4c701457a6b40d7b8f19c90413;p=pandora-kernel.git 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 Acked-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed