From: Julia Lawall Date: Mon, 19 Aug 2013 11:20:37 +0000 (+0100) Subject: iommu/arm-smmu: replace devm_request_and_ioremap by devm_ioremap_resource X-Git-Tag: v3.13-rc1~79^2^5~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a7f431221602fcde573dfdba26de1990ec195a0;p=pandora-kernel.git iommu/arm-smmu: replace devm_request_and_ioremap by devm_ioremap_resource Use devm_ioremap_resource instead of devm_request_and_ioremap. This was partly done using the semantic patch scripts/coccinelle/api/devm_ioremap_resource.cocci The error-handling code on the call to platform_get_resource was removed manually, and the initialization of smmu->size was manually moved lower, to take advantage of the NULL test on res performed by devm_ioremap_resource. Signed-off-by: Julia Lawall Signed-off-by: Will Deacon --- Reading git-diff-tree failed