From: Julia Lawall Date: Mon, 26 Aug 2013 09:11:09 +0000 (+0200) Subject: PCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource X-Git-Tag: v3.12-rc1~115^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc05ee32985585ba1d4c80ea4d904e34a8f92ef4;p=pandora-kernel.git PCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource Use devm_ioremap_resource instead of devm_request_and_ioremap. This was done using the semantic patch scripts/coccinelle/api/devm_ioremap_resource.cocci Error-handling code was manually removed from the associated calls to platform_get_resource. Adjust the comment at the third platform_get_resource_byname to make clear why ioremap is not done at this point. Signed-off-by: Julia Lawall Acked-by: Thierry Reding Tested-by: Thierry Reding Acked-by: Bjorn Helgaas Acked-by: Stephen Warren Signed-off-by: Thierry Reding Signed-off-by: Olof Johansson --- Reading git-diff-tree failed