spi: Remove duplicate code to check chip_select
authorAxel Lin <axel.lin@ingics.com>
Tue, 11 Feb 2014 14:07:30 +0000 (22:07 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 12 Feb 2014 16:25:32 +0000 (16:25 +0000)
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>

No differences found