spi: bfin_spi: Use DIV_ROUND_UP instead of open-coded
authorAxel Lin <axel.lin@ingics.com>
Fri, 12 Jul 2013 09:39:41 +0000 (17:39 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Wed, 31 Jul 2013 08:56:04 +0000 (16:56 +0800)
commit327b5c9f7cde4e621c2f49fbd2e9890d32f2bef8
tree1e0d982652459387892e546cef0db6508d31f8c9
parent53086befe88cc345ecb802b8dee79337f3ece2c7
spi: bfin_spi: Use DIV_ROUND_UP instead of open-coded

Use DIV_ROUND_UP to simplify the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
drivers/spi/bfin_spi.c