arm: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 17:57:36 +0000 (18:57 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:37 +0000 (06:56 -0800)
commit72fd97bf4e75e37552640614a0ea98897fc1dd77
tree7ee914059ad82d75ea482e5584134189ce61950e
parentb0cbeae4944924640bf550b75487729a20204c14
arm: remove the mapping_error dma_map_ops method

Arm already returns (~(dma_addr_t)0x0) on mapping failures, so we can
switch over to returning DMA_MAPPING_ERROR and let the core dma-mapping
code handle the rest.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/common/dmabounce.c
arch/arm/include/asm/dma-iommu.h
arch/arm/mm/dma-mapping.c