From: Himangi Saraogi Date: Tue, 1 Jul 2014 20:34:44 +0000 (+0530) Subject: fotg210: Use managed interfaces for allocation of resources X-Git-Tag: omap-for-v3.17/fixes-against-rc2~164^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e278b3408999d5bdce50bd0d7f97608483eebea;p=pandora-kernel.git fotg210: Use managed interfaces for allocation of resources This patch intoduces the use of devm_ioremap_resource instead of request_mem_region and ioremap_nocache and removes the calls to free the allocated memory. Some labels are removes and a new label failed introduced to make it less specific to the context. The call to a platform get resource with IORESOURCE_IO is removed as it allocates memory that is not needed. Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed