ata: sata_mv: Drop pointless VPRINTK() call and convert the remaining one
authorHannes Reinecke <hare@suse.de>
Tue, 21 Dec 2021 07:20:55 +0000 (08:20 +0100)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 5 Jan 2022 10:33:02 +0000 (19:33 +0900)
Drop pointless VPRINTK() call and convert the remaining one to dev_dbg().

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/sata_mv.c

index f00540641027d1f21bb062bce901065c4b475f38..70743cd50a9724d6c645ee1dacedbd8d0a5717cd 100644 (file)
@@ -3716,11 +3716,6 @@ static void mv_port_init(struct ata_ioports *port,  void __iomem *port_mmio)
 
        /* unmask all non-transient EDMA error interrupts */
        writelfl(~EDMA_ERR_IRQ_TRANSIENT, port_mmio + EDMA_ERR_IRQ_MASK);
-
-       VPRINTK("EDMA cfg=0x%08x EDMA IRQ err cause/mask=0x%08x/0x%08x\n",
-               readl(port_mmio + EDMA_CFG),
-               readl(port_mmio + EDMA_ERR_IRQ_CAUSE),
-               readl(port_mmio + EDMA_ERR_IRQ_MASK));
 }
 
 static unsigned int mv_in_pcix_mode(struct ata_host *host)
@@ -3965,7 +3960,7 @@ static int mv_init_host(struct ata_host *host)
        for (hc = 0; hc < n_hc; hc++) {
                void __iomem *hc_mmio = mv_hc_base(mmio, hc);
 
-               VPRINTK("HC%i: HC config=0x%08x HC IRQ cause "
+               dev_dbg(host->dev, "HC%i: HC config=0x%08x HC IRQ cause "
                        "(before clear)=0x%08x\n", hc,
                        readl(hc_mmio + HC_CFG),
                        readl(hc_mmio + HC_IRQ_CAUSE));