mips/jazz: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:18:58 +0000 (19:18 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:38 +0000 (06:56 -0800)
commit122da4e081be6e854625de21278f5ab6ce103ba9
tree95660b0552c8a9c5c5836e022071ad98bab58df3
parentd11e3d3d03360cd49497c837490576f793baf746
mips/jazz: remove the mapping_error dma_map_ops method

The Jazz 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>
arch/mips/include/asm/jazzdma.h
arch/mips/jazz/jazzdma.c