aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-espi.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2013-10-11 06:54:00 -0400
committerMark Brown <broonie@linaro.org>2013-10-16 14:07:15 -0400
commitf6bd03a746271f298aa5bfb6e049b245757efaed (patch)
treed977b7a44d3e4c8e983d724c3113fd24cff768c5 /drivers/spi/spi-fsl-espi.c
parenta1829d2b76ae70e8f15fcf60aba5b703d46d66d9 (diff)
spi: Don't break user-visible strings to multiple source lines in drivers
User-visible strings are more difficult to grep from sources if they are separated to multiple source lines. This is worse than over 80 columns long line code style violation. Fix this by making those to single-line strings or by breaking them between variables. While at there, convert if (printk_ratelimit()) dev_warn() to use dev_warn_ratelimited in spi-pxa2xx.c. Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-fsl-espi.c')
-rw-r--r--drivers/spi/spi-fsl-espi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c
index b8f1103fe28e..43222d7532d1 100644
--- a/drivers/spi/spi-fsl-espi.c
+++ b/drivers/spi/spi-fsl-espi.c
@@ -289,8 +289,8 @@ static void fsl_espi_do_trans(struct spi_message *m,
289 if ((first->bits_per_word != t->bits_per_word) || 289 if ((first->bits_per_word != t->bits_per_word) ||
290 (first->speed_hz != t->speed_hz)) { 290 (first->speed_hz != t->speed_hz)) {
291 espi_trans->status = -EINVAL; 291 espi_trans->status = -EINVAL;
292 dev_err(mspi->dev, "bits_per_word/speed_hz should be" 292 dev_err(mspi->dev,
293 " same for the same SPI transfer\n"); 293 "bits_per_word/speed_hz should be same for the same SPI transfer\n");
294 return; 294 return;
295 } 295 }
296 296