diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2013-10-11 06:53:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-16 14:07:15 -0400 |
commit | a1829d2b76ae70e8f15fcf60aba5b703d46d66d9 (patch) | |
tree | 60f1a8b7354d47de7d7686d9a8c04cd918de1f2f | |
parent | 61e6cfa80de5760bbe406f4e815b7739205754d2 (diff) |
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>
-rw-r--r-- | drivers/spi/spi-bfin-sport.c | 2 | ||||
-rw-r--r-- | drivers/spi/spi-bfin5xx.c | 4 | ||||
-rw-r--r-- | drivers/spi/spi-ep93xx.c | 4 | ||||
-rw-r--r-- | drivers/spi/spi-fsl-cpm.c | 2 | ||||
-rw-r--r-- | drivers/spi/spi-omap2-mcspi.c | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/drivers/spi/spi-bfin-sport.c b/drivers/spi/spi-bfin-sport.c index 91921b5f5817..7b2cda0747d5 100644 --- a/drivers/spi/spi-bfin-sport.c +++ b/drivers/spi/spi-bfin-sport.c | |||
@@ -592,7 +592,7 @@ bfin_sport_spi_setup(struct spi_device *spi) | |||
592 | */ | 592 | */ |
593 | if (chip_info->ctl_reg || chip_info->enable_dma) { | 593 | if (chip_info->ctl_reg || chip_info->enable_dma) { |
594 | ret = -EINVAL; | 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 | goto error; | 596 | goto error; |
597 | } | 597 | } |
598 | chip->cs_chg_udelay = chip_info->cs_chg_udelay; | 598 | chip->cs_chg_udelay = chip_info->cs_chg_udelay; |
diff --git a/drivers/spi/spi-bfin5xx.c b/drivers/spi/spi-bfin5xx.c index 45bdf73d6868..18b892e7455a 100644 --- a/drivers/spi/spi-bfin5xx.c +++ b/drivers/spi/spi-bfin5xx.c | |||
@@ -524,7 +524,7 @@ static irqreturn_t bfin_spi_dma_irq_handler(int irq, void *dev_id) | |||
524 | timeout = jiffies + HZ; | 524 | timeout = jiffies + HZ; |
525 | while (!(bfin_read(&drv_data->regs->stat) & BIT_STAT_SPIF)) | 525 | while (!(bfin_read(&drv_data->regs->stat) & BIT_STAT_SPIF)) |
526 | if (!time_before(jiffies, timeout)) { | 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 | break; | 528 | break; |
529 | } else | 529 | } else |
530 | cpu_relax(); | 530 | cpu_relax(); |
@@ -1052,7 +1052,7 @@ static int bfin_spi_setup(struct spi_device *spi) | |||
1052 | if (!(spi->mode & SPI_CPHA)) | 1052 | if (!(spi->mode & SPI_CPHA)) |
1053 | dev_warn(&spi->dev, "Warning: SPI CPHA not set:" | 1053 | dev_warn(&spi->dev, "Warning: SPI CPHA not set:" |
1054 | " Slave Select not under software control!\n" | 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 | chip->flag = (1 << spi->chip_select) << 8; | 1057 | chip->flag = (1 << spi->chip_select) << 8; |
1058 | } else | 1058 | } else |
diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index d22c00a227b6..b57a341d3e1c 100644 --- a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c | |||
@@ -330,7 +330,7 @@ static int ep93xx_spi_chip_setup(const struct ep93xx_spi *espi, | |||
330 | 330 | ||
331 | dev_dbg(&espi->pdev->dev, "setup: mode %d, cpsr %d, scr %d, dss %d\n", | 331 | dev_dbg(&espi->pdev->dev, "setup: mode %d, cpsr %d, scr %d, dss %d\n", |
332 | chip->spi->mode, div_cpsr, div_scr, dss); | 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 | ep93xx_spi_write_u8(espi, SSPCPSR, div_cpsr); | 335 | ep93xx_spi_write_u8(espi, SSPCPSR, div_cpsr); |
336 | ep93xx_spi_write_u16(espi, SSPCR0, cr0); | 336 | ep93xx_spi_write_u16(espi, SSPCR0, cr0); |
@@ -509,7 +509,7 @@ ep93xx_spi_dma_prepare(struct ep93xx_spi *espi, enum dma_transfer_direction dir) | |||
509 | } | 509 | } |
510 | 510 | ||
511 | if (WARN_ON(len)) { | 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 | return ERR_PTR(-EINVAL); | 513 | return ERR_PTR(-EINVAL); |
514 | } | 514 | } |
515 | 515 | ||
diff --git a/drivers/spi/spi-fsl-cpm.c b/drivers/spi/spi-fsl-cpm.c index 07971e3fe58b..58630edb8c21 100644 --- a/drivers/spi/spi-fsl-cpm.c +++ b/drivers/spi/spi-fsl-cpm.c | |||
@@ -299,7 +299,7 @@ int fsl_spi_cpm_init(struct mpc8xxx_spi *mspi) | |||
299 | 299 | ||
300 | switch (mspi->subblock) { | 300 | switch (mspi->subblock) { |
301 | default: | 301 | default: |
302 | dev_warn(dev, "cell-index unspecified, assuming SPI1"); | 302 | dev_warn(dev, "cell-index unspecified, assuming SPI1\n"); |
303 | /* fall through */ | 303 | /* fall through */ |
304 | case 0: | 304 | case 0: |
305 | mspi->subblock = QE_CR_SUBBLOCK_SPI1; | 305 | mspi->subblock = QE_CR_SUBBLOCK_SPI1; |
diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index ed4af4708d9a..15d32042a7db 100644 --- a/drivers/spi/spi-omap2-mcspi.c +++ b/drivers/spi/spi-omap2-mcspi.c | |||
@@ -498,7 +498,7 @@ omap2_mcspi_rx_dma(struct spi_device *spi, struct spi_transfer *xfer, | |||
498 | ((u32 *)xfer->rx_buf)[elements++] = w; | 498 | ((u32 *)xfer->rx_buf)[elements++] = w; |
499 | } else { | 499 | } else { |
500 | int bytes_per_word = mcspi_bytes_per_word(word_len); | 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 | count -= (bytes_per_word << 1); | 502 | count -= (bytes_per_word << 1); |
503 | omap2_mcspi_set_enable(spi, 1); | 503 | omap2_mcspi_set_enable(spi, 1); |
504 | return count; | 504 | return count; |
@@ -516,7 +516,7 @@ omap2_mcspi_rx_dma(struct spi_device *spi, struct spi_transfer *xfer, | |||
516 | else /* word_len <= 32 */ | 516 | else /* word_len <= 32 */ |
517 | ((u32 *)xfer->rx_buf)[elements] = w; | 517 | ((u32 *)xfer->rx_buf)[elements] = w; |
518 | } else { | 518 | } else { |
519 | dev_err(&spi->dev, "DMA RX last word empty"); | 519 | dev_err(&spi->dev, "DMA RX last word empty\n"); |
520 | count -= mcspi_bytes_per_word(word_len); | 520 | count -= mcspi_bytes_per_word(word_len); |
521 | } | 521 | } |
522 | omap2_mcspi_set_enable(spi, 1); | 522 | omap2_mcspi_set_enable(spi, 1); |