spi: core: propagate return code of __spi_validate_bits_per_word()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Oct 2015 19:43:07 +0000 (22:43 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 16 Oct 2015 15:05:33 +0000 (16:05 +0100)
commit5ab8d262122bc951b308e51cdcc55bc67b1f5fdb
treed55527ce037ab3b85b96ce906bea8986faa07f38
parent44af7927316e83eb8865933f7c836dcc85f8eb74
spi: core: propagate return code of __spi_validate_bits_per_word()

Propagate the actual return code of __spi_validate_bits_per_word() in
spi_setup().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c