OSDN Git Service

powerpc: remove support for NULL dev in __phys_to_dma / __dma_to_phys
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Nov 2019 16:08:49 +0000 (17:08 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 20 Nov 2019 19:31:40 +0000 (20:31 +0100)
commitcb6f6392dbefb45b6aabd9a6f566440ef642b6f8
tree04d540c44db5fde16282302a18f3df9abd65ce64
parentc7345159f7db6fb69ec1c3b3f8f28cd05c731be2
powerpc: remove support for NULL dev in __phys_to_dma / __dma_to_phys

Support for calling the DMA API functions without a valid device pointer
was removed a while ago, so remove the stale support for that from the
powerpc __phys_to_dma / __dma_to_phys helpers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
arch/powerpc/include/asm/dma-direct.h