commit | 354312f16e49add1da78f0cfb2bcb633709d0071 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Feb 11 22:07:30 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Wed Feb 12 16:25:32 2014 +0000 |
tree | 52191dc553cd118cfff145f61caf65a4107017f8 | |
parent | 3c604de496d7568b3fddb9f2531630aa89908186 [diff] |
spi: Remove duplicate code to check chip_select In spi_add_device(), we have the code to validate spi->chip_select. So remove the duplicate code in various drivers. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>