From: Vivek Gautam Date: Sat, 10 May 2014 12:00:09 +0000 (+0530) Subject: usb: host: ehci-tegra: Use devm_ioremap_resource instead of devm_ioremap X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~151 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ba96dcebf3b4c4a8befaa37dca0c590b0deceac;p=pandora-kernel.git usb: host: ehci-tegra: Use devm_ioremap_resource instead of devm_ioremap Using devm_ioremap_resource() API should actually be preferred over devm_ioremap(), since the former request the mem region first and then gives back the ioremap'ed memory pointer. devm_ioremap_resource() calls request_mem_region(), therby preventing other drivers to make any overlapping call to the same region. Signed-off-by: Vivek Gautam Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed