summaryrefslogtreecommitdiff
path: root/usr/gen_init_cpio.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2013-08-19 12:20:37 +0100
committerWill Deacon <will.deacon@arm.com>2013-10-09 14:14:38 +0100
commit8a7f431221602fcde573dfdba26de1990ec195a0 (patch)
tree926a3b5ac84c755dd068549b1e4f020888b8d5d8 /usr/gen_init_cpio.c
parentd0e639c9e06d44e713170031fe05fb60ebe680af (diff)
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 <Julia.Lawall@lip6.fr> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions