Re: [PATCH v3 2/4] dmaengine: use dma_chan_name() helper to get per-channel device name

From
Amelie Delaunay <amelie.delaunay@foss.st.com>
Date
2026-09-07 09:01:49
Also in
dmaengine, imx, linux-arm-kernel, linux-mips, linux-sunxi, linux-tegra, lkml
Reply to
unknown sender, 2026-09-04

On 9/4/26 23:49, Frank.Li@oss.nxp.com wrote:
From: Frank Li<Frank.Li@nxp.com>

Use the existing dma_chan_name() helper to obtain the per-channel device
name instead of open-coding: dev_name(chan->dev->device) /
dev_name(chan2dev())

Simplify the code and improve consistency.

No functional change intended.

Reviewed-by: Logan Gunthorpe<logang@deltatee.com>
Signed-off-by: Frank Li<Frank.Li@nxp.com>
Reviewed-by: Amelie Delaunay <amelie.delaunay@foss.st.com> # For STM32
quoted hunk ↗ jump to hunk
---
  drivers/dma/dma-jz4780.c                       | 2 +-
  drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 2 +-
  drivers/dma/idma64.c                           | 2 +-
  drivers/dma/loongson/loongson2-apb-dma.c       | 2 +-
  drivers/dma/mmp_pdma.c                         | 2 +-
  drivers/dma/st_fdma.c                          | 2 +-
  drivers/dma/stm32/stm32-dma3.c                 | 2 +-
  drivers/dma/stm32/stm32-mdma.c                 | 2 +-
  include/trace/events/tegra_apb_dma.h           | 6 +++---
  9 files changed, 11 insertions(+), 11 deletions(-)
  
Thread (16 messages) 16 messages, 5 authors, last reply 2026-09-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help