dmaengine: coh901318: Remove unnecessary 0x prefixes before %pad
authorVinod Koul <vinod.koul@intel.com>
Fri, 3 Nov 2017 05:03:11 +0000 (10:33 +0530)
committerVinod Koul <vinod.koul@intel.com>
Wed, 8 Nov 2017 05:16:46 +0000 (10:46 +0530)
Since commit 3cab1e711297 ("lib/vsprintf: refactor duplicate code
to special_hex_number()") %pad doesn't need 0x prefix so drop that.

Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/coh901318.c

index 74794c9859f60d072e2ba767c7a015bc4b3bfbe0..da74fd74636b41f14b40b17abc1022ab23de3593 100644 (file)
@@ -1319,8 +1319,8 @@ static void coh901318_list_print(struct coh901318_chan *cohc,
        int i = 0;
 
        while (l) {
-               dev_vdbg(COHC_2_DEV(cohc), "i %d, lli %p, ctrl 0x%x, src 0x%pad"
-                        ", dst 0x%pad, link 0x%pad virt_link_addr 0x%p\n",
+               dev_vdbg(COHC_2_DEV(cohc), "i %d, lli %p, ctrl 0x%x, src %pad"
+                        ", dst %pad, link %pad virt_link_addr 0x%p\n",
                         i, l, l->control, &l->src_addr, &l->dst_addr,
                         &l->link_addr, l->virt_link_addr);
                i++;
@@ -2231,7 +2231,7 @@ coh901318_prep_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
        spin_lock_irqsave(&cohc->lock, flg);
 
        dev_vdbg(COHC_2_DEV(cohc),
-                "[%s] channel %d src 0x%pad dest 0x%pad size %zu\n",
+                "[%s] channel %d src %pad dest %pad size %zu\n",
                 __func__, cohc->id, &src, &dest, size);
 
        if (flags & DMA_PREP_INTERRUPT)