diff options
Diffstat (limited to 'drivers/spi/spi_s3c24xx.c')
-rw-r--r-- | drivers/spi/spi_s3c24xx.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c index b3ebc1d0f85f..18a4c7f54380 100644 --- a/drivers/spi/spi_s3c24xx.c +++ b/drivers/spi/spi_s3c24xx.c | |||
@@ -153,9 +153,6 @@ static int s3c24xx_spi_setup(struct spi_device *spi) | |||
153 | { | 153 | { |
154 | int ret; | 154 | int ret; |
155 | 155 | ||
156 | if (!spi->bits_per_word) | ||
157 | spi->bits_per_word = 8; | ||
158 | |||
159 | if (spi->mode & ~MODEBITS) { | 156 | if (spi->mode & ~MODEBITS) { |
160 | dev_dbg(&spi->dev, "setup: unsupported mode bits %x\n", | 157 | dev_dbg(&spi->dev, "setup: unsupported mode bits %x\n", |
161 | spi->mode & ~MODEBITS); | 158 | spi->mode & ~MODEBITS); |
@@ -168,10 +165,6 @@ static int s3c24xx_spi_setup(struct spi_device *spi) | |||
168 | return ret; | 165 | return ret; |
169 | } | 166 | } |
170 | 167 | ||
171 | dev_dbg(&spi->dev, "%s: mode %d, %u bpw, %d hz\n", | ||
172 | __func__, spi->mode, spi->bits_per_word, | ||
173 | spi->max_speed_hz); | ||
174 | |||
175 | return 0; | 168 | return 0; |
176 | } | 169 | } |
177 | 170 | ||