diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-10-25 11:02:52 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-11-11 07:45:08 +0100 |
commit | 0e75c28c52962b528947843e947b4bd0c74d40d2 (patch) | |
tree | 9cd7c7b9aa25b13f78492c671d9099551272686e /drivers/dma | |
parent | dmaengine: at_hdmac: Return dma_cookie_status()'s ret code when txstate is NULL (diff) | |
download | linux-0e75c28c52962b528947843e947b4bd0c74d40d2.tar.xz linux-0e75c28c52962b528947843e947b4bd0c74d40d2.zip |
dmaengine: at_hdmac: Remove superfluous cast
Conversions of void * are applied automatically when other pointer types
are assigned to and from void *. Remove the superfluous cast.
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-19-tudor.ambarus@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/at_hdmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 10b6b0435d52..fbfb207104e9 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -603,7 +603,7 @@ static void atc_tasklet(struct tasklet_struct *t) static irqreturn_t at_dma_interrupt(int irq, void *dev_id) { - struct at_dma *atdma = (struct at_dma *)dev_id; + struct at_dma *atdma = dev_id; struct at_dma_chan *atchan; int i; u32 status, pending, imr; |