diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/omap_uwire.c | 2 | ||||
-rw-r--r-- | drivers/spi/spi_s3c24xx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/omap_uwire.c b/drivers/spi/omap_uwire.c index 8980a5640bd9..e75ba9b28898 100644 --- a/drivers/spi/omap_uwire.c +++ b/drivers/spi/omap_uwire.c | |||
@@ -213,7 +213,7 @@ static int uwire_txrx(struct spi_device *spi, struct spi_transfer *t) | |||
213 | unsigned bits = ust->bits_per_word; | 213 | unsigned bits = ust->bits_per_word; |
214 | unsigned bytes; | 214 | unsigned bytes; |
215 | u16 val, w; | 215 | u16 val, w; |
216 | int status = 0;; | 216 | int status = 0; |
217 | 217 | ||
218 | if (!t->tx_buf && !t->rx_buf) | 218 | if (!t->tx_buf && !t->rx_buf) |
219 | return 0; | 219 | return 0; |
diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c index 3f3119d760db..6ba8aece90b5 100644 --- a/drivers/spi/spi_s3c24xx.c +++ b/drivers/spi/spi_s3c24xx.c | |||
@@ -388,7 +388,7 @@ static int __init s3c24xx_spi_probe(struct platform_device *pdev) | |||
388 | 388 | ||
389 | err_no_iores: | 389 | err_no_iores: |
390 | err_no_pdata: | 390 | err_no_pdata: |
391 | spi_master_put(hw->master);; | 391 | spi_master_put(hw->master); |
392 | 392 | ||
393 | err_nomem: | 393 | err_nomem: |
394 | return err; | 394 | return err; |