Blackfin SPI: cleanup according to David Brownell's review
commit88b4036934b5a6d8cda810487503d2fc4c46d448
authorBryan Wu <bryan.wu@analog.com>
Mon, 21 May 2007 10:32:16 +0000 (21 18:32 +0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 21 May 2007 16:50:24 +0000 (21 09:50 -0700)
treec3924f200a7d823401678d5ab28d9fd6cc6a3361
parent2ac5ee4738cbd9c146ccda53f02006eaf6a43352
Blackfin SPI: cleanup according to David Brownell's review

a) platorm_driver_probe(...) instead of platform_driver_register(&driver);
b) set bfin_spi_enable and bfin_spi_disable static
c) Why is the width flag a u32?
d) maybe use dev_dbg() instead of pr_debug()

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_bfin5xx.c