OSDN Git Service

dma-mapping: drop the dev argument to arch_sync_dma_for_*
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Nov 2019 17:03:11 +0000 (18:03 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 20 Nov 2019 19:31:38 +0000 (20:31 +0100)
commit56e35f9c5b87ec1ae93e483284e189c84388de16
treef6148d613483272cd7491c77a736259d15c95400
parente380a0394c36a3a878c858418d5dd7f5f195b6fc
dma-mapping: drop the dev argument to arch_sync_dma_for_*

These are pure cache maintainance routines, so drop the unused
struct device argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
26 files changed:
arch/arc/mm/dma.c
arch/arm/mm/dma-mapping.c
arch/arm/xen/mm.c
arch/arm64/mm/dma-mapping.c
arch/c6x/mm/dma-coherent.c
arch/csky/mm/dma-mapping.c
arch/hexagon/kernel/dma.c
arch/ia64/mm/init.c
arch/m68k/kernel/dma.c
arch/microblaze/kernel/dma.c
arch/mips/bmips/dma.c
arch/mips/jazz/jazzdma.c
arch/mips/mm/dma-noncoherent.c
arch/nds32/kernel/dma.c
arch/nios2/mm/dma-mapping.c
arch/openrisc/kernel/dma.c
arch/parisc/kernel/pci-dma.c
arch/powerpc/mm/dma-noncoherent.c
arch/sh/kernel/dma-coherent.c
arch/sparc/kernel/ioport.c
arch/xtensa/kernel/pci-dma.c
drivers/iommu/dma-iommu.c
drivers/xen/swiotlb-xen.c
include/linux/dma-noncoherent.h
include/xen/swiotlb-xen.h
kernel/dma/direct.c