diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-01-17 11:00:42 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-17 16:55:54 +0100 |
commit | 463654cec26466a03615974444d6900f1cd0eeb9 (patch) | |
tree | 85e6ce1653cf249b478749a4abfd77df0e2722e1 /drivers/net/wireless/iwlwifi/iwl-csr.h | |
parent | spi: sc18is602: Use devm_spi_register_master() (diff) | |
download | linux-463654cec26466a03615974444d6900f1cd0eeb9.tar.xz linux-463654cec26466a03615974444d6900f1cd0eeb9.zip |
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 <axel.lin@ingics.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-csr.h')
0 files changed, 0 insertions, 0 deletions