From: Axel Lin Date: Tue, 11 Feb 2014 14:07:30 +0000 (+0800) Subject: spi: Remove duplicate code to check chip_select X-Git-Tag: v3.15-rc1~147^2~6^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=354312f16e49add1da78f0cfb2bcb633709d0071;p=pandora-kernel.git 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 Acked-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed