arm64: dma-mapping: Cocci spatch "vma_pages"
authorThomas Meyer <thomas@m3y3r.de>
Wed, 20 Sep 2017 22:29:36 +0000 (00:29 +0200)
committerWill Deacon <will.deacon@arm.com>
Mon, 2 Oct 2017 09:13:05 +0000 (10:13 +0100)
commitb4f4a2755665bf847231050b569f587ce0945482
tree7da465b14e04b907f9d0054af885050eea8ed11f
parentc2f0b54f10b12620c57f6e31233589b704a00ed5
arm64: dma-mapping: Cocci spatch "vma_pages"

Use vma_pages function on vma object instead of explicit computation.
Found by coccinelle spatch "api/vma_pages.cocci"

Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/dma-mapping.c