staging: mt7621-dma: Remove unnecessary line continuations
Subsystems (2)
PATCH v2 1/1 staging: mt7621-dma: Remove unnecessary line continuations
checkpatch message:
"WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations"
Suggested-by Julia Lawall <[email protected]>
Signed-off-by Frank A. Cancio Bello <[email protected]>
---
Changes in v2:
- Fix strings cut over multiple lines.
drivers/staging/mt7621-dma/mtk-hsdma.c | 45 +++++++++++++------------- 1 file changed, 22 insertions(+), 23 deletions(-)
drivers/staging/mt7621-dma/mtk-hsdma.c +22 -23
@@ -208,25 +208,24 @@ static void mtk_hsdma_reset_chan(struct mtk_hsdam_engine *hsdma,static void hsdma_dump_reg (struct mtk_hsdam_engine *hsdma) { -dev_dbg (hsdma->ddev.dev,"tbase %08x, tcnt %08x, " \ -"tctx %08x, tdtx: %08x, rbase %08x, " \ -"rcnt %08x, rctx %08x, rdtx %08x\n" , -mtk_hsdma_read (hsdma,HSDMA_REG_TX_BASE ), -mtk_hsdma_read (hsdma,HSDMA_REG_TX_CNT ), -mtk_hsdma_read (hsdma,HSDMA_REG_TX_CTX ), -mtk_hsdma_read (hsdma,HSDMA_REG_TX_DTX ), -mtk_hsdma_read (hsdma,HSDMA_REG_RX_BASE ), -mtk_hsdma_read (hsdma,HSDMA_REG_RX_CNT ), -mtk_hsdma_read (hsdma,HSDMA_REG_RX_CRX ), -mtk_hsdma_read (hsdma,HSDMA_REG_RX_DRX )); - -dev_dbg (hsdma->ddev.dev,"info %08x, glo %08x, delay %08x, " \ -"intr_stat %08x, intr_mask %08x\n" , -mtk_hsdma_read (hsdma,HSDMA_REG_INFO ), -mtk_hsdma_read (hsdma,HSDMA_REG_GLO_CFG ), -mtk_hsdma_read (hsdma,HSDMA_REG_DELAY_INT ), -mtk_hsdma_read (hsdma,HSDMA_REG_INT_STATUS ), -mtk_hsdma_read (hsdma,HSDMA_REG_INT_MASK )); +dev_dbg (hsdma->ddev.dev, +"tbase %08x, tcnt %08x, tctx %08x, tdtx: %08x, rbase %08x, rcnt %08x, rctx %08x, rdtx %08x\n" , +mtk_hsdma_read (hsdma,HSDMA_REG_TX_BASE ), +mtk_hsdma_read (hsdma,HSDMA_REG_TX_CNT ), +mtk_hsdma_read (hsdma,HSDMA_REG_TX_CTX ), +mtk_hsdma_read (hsdma,HSDMA_REG_TX_DTX ), +mtk_hsdma_read (hsdma,HSDMA_REG_RX_BASE ), +mtk_hsdma_read (hsdma,HSDMA_REG_RX_CNT ), +mtk_hsdma_read (hsdma,HSDMA_REG_RX_CRX ), +mtk_hsdma_read (hsdma,HSDMA_REG_RX_DRX )); + +dev_dbg (hsdma->ddev.dev, +"info %08x, glo %08x, delay %08x, intr_stat %08x, intr_mask %08x\n" , +mtk_hsdma_read (hsdma,HSDMA_REG_INFO ), +mtk_hsdma_read (hsdma,HSDMA_REG_GLO_CFG ), +mtk_hsdma_read (hsdma,HSDMA_REG_DELAY_INT ), +mtk_hsdma_read (hsdma,HSDMA_REG_INT_STATUS ), +mtk_hsdma_read (hsdma,HSDMA_REG_INT_MASK )); } static void hsdma_dump_desc(struct mtk_hsdam_engine *hsdma,
@@ -243,10 +242,10 @@ static void hsdma_dump_desc(struct mtk_hsdam_engine *hsdma, tx_desc = &chan->tx_ring[i]; rx_desc = &chan->rx_ring[i]; -dev_dbg (hsdma->ddev.dev,"%d tx addr0: %08x, flags %08x, " \ -"tx addr1: %08x, rx addr0 %08x, flags %08x\n" , - i, tx_desc->addr0, tx_desc->flags, \ - tx_desc->addr1, rx_desc->addr0, rx_desc->flags); +dev_dbg (hsdma->ddev.dev, +"%d tx addr0: %08x, flags %08x, tx addr1: %08x, rx addr0 %08x, flags %08x\n" , + i, tx_desc->addr0, tx_desc->flags, + tx_desc->addr1, rx_desc->addr0, rx_desc->flags); } }
Signature · 1 line
2.17.1