aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-10-18 06:06:30 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 17:37:28 -0400
commit898eb71cb17644964c5895fb190e79e3d0c49679 (patch)
tree96be8f0a40feaf56fef836634c89955e432b12db /drivers/spi
parent6c0286b199c3eb2caa973525dfc8a7ed67090ec0 (diff)
Add missing newlines to some uses of dev_<level> messages
Found these while looking at printk uses. Add missing newlines to dev_<level> uses Add missing KERN_<level> prefixes to multiline dev_<level>s Fixed a wierd->weird spelling typo Added a newline to a printk Signed-off-by: Joe Perches <joe@perches.com> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Jens Axboe <jens.axboe@oracle.com> Cc: Mark M. Hoffman <mhoffman@lightlink.com> Cc: Roland Dreier <rolandd@cisco.com> Cc: Tilman Schmidt <tilman@imap.cc> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Jeff Garzik <jeff@garzik.org> Cc: Stephen Hemminger <shemminger@linux-foundation.org> Cc: Greg KH <greg@kroah.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: David Brownell <david-b@pacbell.net> Cc: James Smart <James.Smart@Emulex.Com> Cc: Andrew Vasquez <andrew.vasquez@qlogic.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Jaroslav Kysela <perex@suse.cz> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi_bfin5xx.c2
-rw-r--r--drivers/spi/spi_imx.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c
index 6cb71d74738f..2ef11bb70b2e 100644
--- a/drivers/spi/spi_bfin5xx.c
+++ b/drivers/spi/spi_bfin5xx.c
@@ -1070,7 +1070,7 @@ static int setup(struct spi_device *spi)
1070 return -ENODEV; 1070 return -ENODEV;
1071 } 1071 }
1072 1072
1073 dev_dbg(&spi->dev, "setup spi chip %s, width is %d, dma is %d,", 1073 dev_dbg(&spi->dev, "setup spi chip %s, width is %d, dma is %d\n",
1074 spi->modalias, chip->width, chip->enable_dma); 1074 spi->modalias, chip->width, chip->enable_dma);
1075 dev_dbg(&spi->dev, "ctl_reg is 0x%x, flag_reg is 0x%x\n", 1075 dev_dbg(&spi->dev, "ctl_reg is 0x%x, flag_reg is 0x%x\n",
1076 chip->ctl_reg, chip->flag); 1076 chip->ctl_reg, chip->flag);
diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c
index 3b4650ae6f1a..7686ba34430f 100644
--- a/drivers/spi/spi_imx.c
+++ b/drivers/spi/spi_imx.c
@@ -1194,7 +1194,7 @@ static int setup(struct spi_device *spi)
1194 chip = kzalloc(sizeof(struct chip_data), GFP_KERNEL); 1194 chip = kzalloc(sizeof(struct chip_data), GFP_KERNEL);
1195 if (!chip) { 1195 if (!chip) {
1196 dev_err(&spi->dev, 1196 dev_err(&spi->dev,
1197 "setup - cannot allocate controller state"); 1197 "setup - cannot allocate controller state\n");
1198 return -ENOMEM; 1198 return -ENOMEM;
1199 } 1199 }
1200 chip->control = SPI_DEFAULT_CONTROL; 1200 chip->control = SPI_DEFAULT_CONTROL;
@@ -1206,7 +1206,7 @@ static int setup(struct spi_device *spi)
1206 if (!chip_info) { 1206 if (!chip_info) {
1207 dev_err(&spi->dev, 1207 dev_err(&spi->dev,
1208 "setup - " 1208 "setup - "
1209 "cannot allocate controller data"); 1209 "cannot allocate controller data\n");
1210 status = -ENOMEM; 1210 status = -ENOMEM;
1211 goto err_first_setup; 1211 goto err_first_setup;
1212 } 1212 }