diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi_bfin5xx.c | 2 | ||||
-rw-r--r-- | drivers/spi/spi_imx.c | 4 |
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 | } |