ARM/dma-mapping: remove the dma_coherent member of struct dev_archdata
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Oct 2022 07:43:01 +0000 (09:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Oct 2022 12:31:08 +0000 (14:31 +0200)
commitc9cb01369b926a074004714ab9f9b65f75bf3c60
tree5cd90ac54f6b4912892eae6f4ed627f941ac6afe
parent49bc8bebae79c8516cb12f91818f3a7907e3ebce
ARM/dma-mapping: remove the dma_coherent member of struct dev_archdata

Since commit ae626eb97376 ("ARM/dma-mapping: use dma-direct
unconditionally") only the dma_coherent flag in struct device is used,
so remove the now write only flag in struct dev_archdata.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/device.h
arch/arm/mm/dma-mapping.c