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