commit | 5163b353c09c8aaed373a50f4ec3bdb3f592d8e8 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Jan 17 18:53:40 2014 +0800 |
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | Fri Feb 07 15:55:02 2014 -0500 |
tree | c98947d2e6c83a10fa80f4cf59cafba262b3b6b7 | |
parent | cd2e3a8c7e0c876e29e590d68efeb6f5a6d205b5 [diff] |
spi: Remove duplicate code to set default bits_per_word setting The implementation in spi_setup() already set spi->bits_per_word = 8 when spi->bits_per_word is 0 before calling spi->master->setup. So we don't need to do it again in setup() callback. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Barry Song <Baohua.Song@csr.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Mark Brown <broonie@linaro.org>