spi/bcm63xx: simplify bcm63xx_spi_check_transfer
authorJonas Gorski <jogo@openwrt.org>
Mon, 11 Mar 2013 23:13:43 +0000 (00:13 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Mar 2013 19:14:46 +0000 (19:14 +0000)
commit58d8bebea57b519cb606a59dc1263556e8746119
tree7b6c39f6792ef8b6833bdebd9571f4f31cb51723
parente2bdae06329ef3fb8918032735cd963efc701b7e
spi/bcm63xx: simplify bcm63xx_spi_check_transfer

bcm63xx_spi_check_transfer is only called from one place that has
t always set, so directly check the transfer's bits_per_word.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-bcm63xx.c