Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: Add missing newline to dev_ prints in drivers

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Jarkko Nikula and committed by
Mark Brown
a1829d2b 61e6cfa8

+8 -8
+1 -1
drivers/spi/spi-bfin-sport.c
··· 592 592 */ 593 593 if (chip_info->ctl_reg || chip_info->enable_dma) { 594 594 ret = -EINVAL; 595 - dev_err(&spi->dev, "don't set ctl_reg/enable_dma fields"); 595 + dev_err(&spi->dev, "don't set ctl_reg/enable_dma fields\n"); 596 596 goto error; 597 597 } 598 598 chip->cs_chg_udelay = chip_info->cs_chg_udelay;
+2 -2
drivers/spi/spi-bfin5xx.c
··· 524 524 timeout = jiffies + HZ; 525 525 while (!(bfin_read(&drv_data->regs->stat) & BIT_STAT_SPIF)) 526 526 if (!time_before(jiffies, timeout)) { 527 - dev_warn(&drv_data->pdev->dev, "timeout waiting for SPIF"); 527 + dev_warn(&drv_data->pdev->dev, "timeout waiting for SPIF\n"); 528 528 break; 529 529 } else 530 530 cpu_relax(); ··· 1052 1052 if (!(spi->mode & SPI_CPHA)) 1053 1053 dev_warn(&spi->dev, "Warning: SPI CPHA not set:" 1054 1054 " Slave Select not under software control!\n" 1055 - " See Documentation/blackfin/bfin-spi-notes.txt"); 1055 + " See Documentation/blackfin/bfin-spi-notes.txt\n"); 1056 1056 1057 1057 chip->flag = (1 << spi->chip_select) << 8; 1058 1058 } else
+2 -2
drivers/spi/spi-ep93xx.c
··· 330 330 331 331 dev_dbg(&espi->pdev->dev, "setup: mode %d, cpsr %d, scr %d, dss %d\n", 332 332 chip->spi->mode, div_cpsr, div_scr, dss); 333 - dev_dbg(&espi->pdev->dev, "setup: cr0 %#x", cr0); 333 + dev_dbg(&espi->pdev->dev, "setup: cr0 %#x\n", cr0); 334 334 335 335 ep93xx_spi_write_u8(espi, SSPCPSR, div_cpsr); 336 336 ep93xx_spi_write_u16(espi, SSPCR0, cr0); ··· 509 509 } 510 510 511 511 if (WARN_ON(len)) { 512 - dev_warn(&espi->pdev->dev, "len = %zu expected 0!", len); 512 + dev_warn(&espi->pdev->dev, "len = %zu expected 0!\n", len); 513 513 return ERR_PTR(-EINVAL); 514 514 } 515 515
+1 -1
drivers/spi/spi-fsl-cpm.c
··· 299 299 300 300 switch (mspi->subblock) { 301 301 default: 302 - dev_warn(dev, "cell-index unspecified, assuming SPI1"); 302 + dev_warn(dev, "cell-index unspecified, assuming SPI1\n"); 303 303 /* fall through */ 304 304 case 0: 305 305 mspi->subblock = QE_CR_SUBBLOCK_SPI1;
+2 -2
drivers/spi/spi-omap2-mcspi.c
··· 498 498 ((u32 *)xfer->rx_buf)[elements++] = w; 499 499 } else { 500 500 int bytes_per_word = mcspi_bytes_per_word(word_len); 501 - dev_err(&spi->dev, "DMA RX penultimate word empty"); 501 + dev_err(&spi->dev, "DMA RX penultimate word empty\n"); 502 502 count -= (bytes_per_word << 1); 503 503 omap2_mcspi_set_enable(spi, 1); 504 504 return count; ··· 516 516 else /* word_len <= 32 */ 517 517 ((u32 *)xfer->rx_buf)[elements] = w; 518 518 } else { 519 - dev_err(&spi->dev, "DMA RX last word empty"); 519 + dev_err(&spi->dev, "DMA RX last word empty\n"); 520 520 count -= mcspi_bytes_per_word(word_len); 521 521 } 522 522 omap2_mcspi_set_enable(spi, 1);