git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spi: move common spi_setup() functionality into core
[pandora-kernel.git]
/
drivers
/
spi
/
atmel_spi.c
diff --git
a/drivers/spi/atmel_spi.c
b/drivers/spi/atmel_spi.c
index
12e443c
..
9f9ff3a
100644
(file)
--- a/
drivers/spi/atmel_spi.c
+++ b/
drivers/spi/atmel_spi.c
@@
-555,8
+555,6
@@
static int atmel_spi_setup(struct spi_device *spi)
return -EINVAL;
}
- if (bits == 0)
- bits = 8;
if (bits < 8 || bits > 16) {
dev_dbg(&spi->dev,
"setup: invalid bits_per_word %u (8 to 16)\n",