spi: spi_bfin cleanups, error handling
authorBryan Wu <bryan.wu@analog.com>
Wed, 5 Dec 2007 07:45:13 +0000 (23:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:21:19 +0000 (09:21 -0800)
commit5fec5b5a4ec0d6d8b41c56e3cc7de41063cd4736
tree3705b4a2000d9a2ae912a3412b4912358b850840
parentcc2f81a695640dd1c0cf12b35ee303460fa6d0bc
spi: spi_bfin cleanups, error handling

Cleanup and error handling

 - add error handling in SPI bus driver with selecting clients
 - use proper defines to access Blackfin MMRs
 - remove useless SSYNCs
 - cleaner use of portmux calls

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_bfin5xx.c