powerpc: remove device_to_mask()
authorChristoph Hellwig <hch@lst.de>
Sat, 29 Jun 2019 08:03:59 +0000 (10:03 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Jul 2019 05:19:35 +0000 (15:19 +1000)
commit24911acd64cee411c9e626d3d0ca0733805b009b
treeee5b95b7fc938665ccab4726d21b21a063fa9604
parenta278e7ea608bea5fe6df9b6ae91fa134655c5d2c
powerpc: remove device_to_mask()

Use the dma_get_mask() helper from dma-mapping.h instead, as they are
functionally identical.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/iommu.h
arch/powerpc/kernel/dma-iommu.c
arch/powerpc/platforms/pseries/vio.c