dma-mapping: move valid_dma_direction to dma-direction.h
authorChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:31:32 +0000 (09:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:12:25 +0000 (06:12 +0200)
commitdb4268f8c575617bacdeff862c7de674dbf65075
tree8b9570bf4f6443537a9f808be1c5b528075958c6
parent7ae10eb903d6ed9b3069fe1dc175b36d86667d09
dma-mapping: move valid_dma_direction to dma-direction.h

Move the valid_dma_direction helper to a more suitable header, and
clean it up to use the proper enum as well as removing pointless braces.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-direction.h
include/linux/dma-mapping.h