spi/bfin_spi: push all size checks into the transfer function
authorMike Frysinger <vapier@gentoo.org>
Fri, 18 Dec 2009 17:38:04 +0000 (17:38 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 18 Oct 2010 06:49:38 +0000 (02:49 -0400)
commit033f44bd0ebca1809e8274237a64263d909f01a7
tree04ba3e37c926c07809e934b0adf39ec6310f7114
parent7370ed6b91c37d7022a89a820b0fcd3156fa87fc
spi/bfin_spi: push all size checks into the transfer function

This reduces duplication between the setup/transfer functions and keeps
values cached during setup from overriding values changed on a transfer
basis (like bits_per_word).

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/spi/spi_bfin5xx.c