aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-omap2-mcspi.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2013-10-11 06:53:59 -0400
committerMark Brown <broonie@linaro.org>2013-10-16 14:07:15 -0400
commita1829d2b76ae70e8f15fcf60aba5b703d46d66d9 (patch)
tree60f1a8b7354d47de7d7686d9a8c04cd918de1f2f /drivers/spi/spi-omap2-mcspi.c
parent61e6cfa80de5760bbe406f4e815b7739205754d2 (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>
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
-rw-r--r--drivers/spi/spi-omap2-mcspi.c4
1 files changed, 2 insertions, 2 deletions
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);