From: Axel Lin Date: Fri, 17 Jan 2014 10:00:42 +0000 (+0800) Subject: spi: sc18is602: Convert to use bits_per_word_mask X-Git-Tag: v3.14-rc1~91^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=463654cec26466a03615974444d6900f1cd0eeb9;p=pandora-kernel.git spi: sc18is602: Convert to use bits_per_word_mask Since commit 543bb25 "spi: add ability to validate xfer->bits_per_word in SPI core", the driver can set bits_per_word_mask for the master then the SPI core will reject transfers that attempt to use an unsupported bits_per_word value. So we can remove the bits_per_word checking in sc18is602_check_transfer() and let SPI core handle the checking. Signed-off-by: Axel Lin Acked-by: Guenter Roeck Signed-off-by: Mark Brown --- Reading git-diff-tree failed