Skip to content

Commit 6cb4373

Browse files
ColinIanKingdamien-lemoal
authored andcommitted
ata: pata_pdc2027x: Remove space before newline and abbreviations
There is a extraneous space before a newline in handful of ata_port_dbg messages. Remove the spaces. Capitalize pio, udma, mdma. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 64c7cac commit 6cb4373

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/ata/pata_pdc2027x.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ static void pdc2027x_set_piomode(struct ata_port *ap, struct ata_device *adev)
295295
}
296296

297297
/* Set the PIO timing registers using value table for 133MHz */
298-
ata_port_dbg(ap, "Set pio regs... \n");
298+
ata_port_dbg(ap, "Set PIO regs...\n");
299299

300300
ctcr0 = ioread32(dev_mmio(ap, adev, PDC_CTCR0));
301301
ctcr0 &= 0xffff0000;
@@ -308,7 +308,7 @@ static void pdc2027x_set_piomode(struct ata_port *ap, struct ata_device *adev)
308308
ctcr1 |= (pdc2027x_pio_timing_tbl[pio].value2 << 24);
309309
iowrite32(ctcr1, dev_mmio(ap, adev, PDC_CTCR1));
310310

311-
ata_port_dbg(ap, "Set to pio mode[%u] \n", pio);
311+
ata_port_dbg(ap, "Set to PIO mode[%u]\n", pio);
312312
}
313313

314314
/**
@@ -341,7 +341,7 @@ static void pdc2027x_set_dmamode(struct ata_port *ap, struct ata_device *adev)
341341
iowrite32(ctcr1 & ~(1 << 7), dev_mmio(ap, adev, PDC_CTCR1));
342342
}
343343

344-
ata_port_dbg(ap, "Set udma regs... \n");
344+
ata_port_dbg(ap, "Set UDMA regs...\n");
345345

346346
ctcr1 = ioread32(dev_mmio(ap, adev, PDC_CTCR1));
347347
ctcr1 &= 0xff000000;
@@ -350,14 +350,14 @@ static void pdc2027x_set_dmamode(struct ata_port *ap, struct ata_device *adev)
350350
(pdc2027x_udma_timing_tbl[udma_mode].value2 << 16);
351351
iowrite32(ctcr1, dev_mmio(ap, adev, PDC_CTCR1));
352352

353-
ata_port_dbg(ap, "Set to udma mode[%u] \n", udma_mode);
353+
ata_port_dbg(ap, "Set to UDMA mode[%u]\n", udma_mode);
354354

355355
} else if ((dma_mode >= XFER_MW_DMA_0) &&
356356
(dma_mode <= XFER_MW_DMA_2)) {
357357
/* Set the MDMA timing registers with value table for 133MHz */
358358
unsigned int mdma_mode = dma_mode & 0x07;
359359

360-
ata_port_dbg(ap, "Set mdma regs... \n");
360+
ata_port_dbg(ap, "Set MDMA regs...\n");
361361
ctcr0 = ioread32(dev_mmio(ap, adev, PDC_CTCR0));
362362

363363
ctcr0 &= 0x0000ffff;
@@ -366,7 +366,7 @@ static void pdc2027x_set_dmamode(struct ata_port *ap, struct ata_device *adev)
366366

367367
iowrite32(ctcr0, dev_mmio(ap, adev, PDC_CTCR0));
368368

369-
ata_port_dbg(ap, "Set to mdma mode[%u] \n", mdma_mode);
369+
ata_port_dbg(ap, "Set to MDMA mode[%u]\n", mdma_mode);
370370
} else {
371371
ata_port_err(ap, "Unknown dma mode [%u] ignored\n", dma_mode);
372372
}

0 commit comments

Comments
 (0)