dma-contiguous: remove dev_set_cma_area
authorChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 08:56:03 +0000 (10:56 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Oct 2020 05:07:03 +0000 (07:07 +0200)
commit5af638931eb374aa0894d8343cee72f50307ef20
tree1019958fe55ef03dada9b48da1dc4117c7f7bcd8
parent8df4051232152a0520ab3035c2d96f33083c2d6a
dma-contiguous: remove dev_set_cma_area

dev_set_cma_area contains a trivial assignment.  It has just three
callers that all have a non-NULL device and depend on CONFIG_DMA_CMA,
so remove the wrapper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/arm/mach-davinci/devices-da8xx.c
include/linux/dma-contiguous.h
kernel/dma/contiguous.c