From: Himangi Saraogi Date: Wed, 11 Jun 2014 19:18:44 +0000 (+0530) Subject: uhci-platform: use devm_ioremap resource X-Git-Tag: omap-for-v3.17/fixes-against-rc2~164^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96ae571338a4b2ecd2e42a6881bb0daa1a4e7d4f;p=pandora-kernel.git uhci-platform: use devm_ioremap resource This patch replaces the memory allocation using request_mem_region and the ioremap by a single call to managed interface devm_ioremap_reource. The corresponding calls to release_mem_region and iounmap in the probe and release functions are now unnecessary and are removed. Also a label is done away with and linux/device.h is added to make sure the devm_*() outine declarations are unambiguously available. Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed