dmaengine: at_hdmac: Keep register definitions and structures private to at_hdmac.c
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 25 Oct 2022 09:03:01 +0000 (12:03 +0300)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Nov 2022 06:45:08 +0000 (12:15 +0530)
commit5cecadc3e2a4fb72ab37d9420df0a9e1179b8a3e
tree851ae4355c09cd96ee7b48a511f49c8bc2993ab7
parente3e672b8f95be38db26c971bc4c6b43d18a9836a
dmaengine: at_hdmac: Keep register definitions and structures private to at_hdmac.c

Do not expose register definitions, structures and helpers via a .h file
because there are used only by at_hdmac.c. Since there are no other users,
remove the ambiguity and move all the .h contents to the .c file.

One may notice some checkpatch warnings and errors with this move. The move
was done "as it was", checkpatch complaints can be fixed in a further
patch.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20221025090306.297886-1-tudor.ambarus@microchip.com
Link: https://lore.kernel.org/r/20221025090306.297886-28-tudor.ambarus@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
MAINTAINERS
drivers/dma/at_hdmac.c
drivers/dma/at_hdmac_regs.h [deleted file]