parisc/sba_iommu: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:00:17 +0000 (19:00 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:41 +0000 (06:56 -0800)
commitfb1b53f16c5e457eac8837407da37f29bf0a509a
tree0066511731ed08c54c4b7ef89e217221d8825b88
parent748c3c4d13232c96a9b173a4cc46406e12b1c8e5
parisc/sba_iommu: remove the mapping_error dma_map_ops method

The SBA iommu code 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: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parisc/sba_iommu.c