summaryrefslogtreecommitdiffstats
path: root/drivers/dma/at_hdmac.c
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2022-10-25 11:03:05 +0200
committerVinod Koul <vkoul@kernel.org>2022-11-11 07:45:09 +0100
commit993b397752f3babb698932f20c1c363c4eca4efc (patch)
tree83e29ce20b11ab3212ae7eedbdabd6549bd7fe3f /drivers/dma/at_hdmac.c
parentdmaengine: at_hdmac: Rename "chan_common" to "dma_chan" (diff)
downloadlinux-993b397752f3babb698932f20c1c363c4eca4efc.tar.xz
linux-993b397752f3babb698932f20c1c363c4eca4efc.zip
dmaengine: at_hdmac: Remove unused member of at_dma_chan
The pointer to at_dma engine was never used, remove it. 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-32-tudor.ambarus@microchip.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/at_hdmac.c')
-rw-r--r--drivers/dma/at_hdmac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index e39b9b47234a..143d75c18d1e 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -253,7 +253,6 @@ enum atc_status {
/**
* struct at_dma_chan - internal representation of an Atmel HDMAC channel
* @dma_chan: common dmaengine channel object members
- * @device: parent device
* @ch_regs: memory mapped register base
* @mask: channel index in a mask
* @per_if: peripheral interface
@@ -273,7 +272,6 @@ enum atc_status {
*/
struct at_dma_chan {
struct dma_chan dma_chan;
- struct at_dma *device;
void __iomem *ch_regs;
u8 mask;
u8 per_if;