spi: st-ssc4: Remove duplicate code to test unsupported mode bits
authorAxel Lin <axel.lin@ingics.com>
Mon, 5 Jan 2015 14:49:36 +0000 (22:49 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2015 19:16:56 +0000 (19:16 +0000)
commitb85bfc444c426f476e68000d5b7e64a3200c3892
tree014c75c48192ce759be9748352c02b0c5e543445
parentf5bac70f4fec1fdc7798f025edd5666c17bcf51f
spi: st-ssc4: Remove duplicate code to test unsupported mode bits

spi_setup() will test unsupported mode bits before calling spi->master->setup.
Thus remove duplicate code to test unsupported mode bits in spi_st_setup().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-st-ssc4.c