From: Axel Lin Date: Fri, 28 Mar 2014 15:37:54 +0000 (+0800) Subject: spi: mpc52xx: Convert to use bits_per_word_mask X-Git-Tag: v3.15-rc1~147^2~4^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c5989ccd32c37890115a6dd5c03f39cba7f7beb;p=pandora-kernel.git spi: mpc52xx: Convert to use bits_per_word_mask This controller only supports 8-bit word length. Set bits_per_word_mask so spi core will reject transfers that attempt to use an unsupported bits_per_word value. Also remove the duplicate code to test spi->mode, it is done by spi core. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed