parisc/ccio: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 17:59:50 +0000 (18:59 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:40 +0000 (06:56 -0800)
commit748c3c4d13232c96a9b173a4cc46406e12b1c8e5
treea9fd6c3d24c3b76aa3ba50d68663fbda15a66a84
parent06301c5e0a16fc4de00582986071aae2b62d6f0a
parisc/ccio: remove the mapping_error dma_map_ops method

The CCIO 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/ccio-dma.c