spi: Eliminate 3WIRE spi_transfer check
authorTrent Piepho <tpiepho@gmail.com>
Fri, 27 Dec 2013 05:51:06 +0000 (21:51 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 30 Dec 2013 12:44:18 +0000 (12:44 +0000)
commit368ca4e0c75612c0a4d6bbcef7efb944604340c2
tree2e8dafb17158d8d4f8b43743db263d13e68feb14
parent89c1f60746106755e29dcc3db9f22e37000891ef
spi: Eliminate 3WIRE spi_transfer check

Checking for SPI_3WIRE isn't needed.  spi_setup() already prevents 3WIRE
mode from being combined with DUAL or QUAD mode support.  So there is no
need to differentiate between a single bit device with SPI_3WIRE set and
one with without.  It doesn't change the allowed bit widths.

Signed-off-by: Trent Piepho <tpiepho@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi.c