spi: fsl_espi: Use DIV_ROUND_UP instead of open-coded
authorAxel Lin <axel.lin@ingics.com>
Fri, 12 Jul 2013 09:41:08 +0000 (17:41 +0800)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 6 Aug 2013 18:28:09 +0000 (23:58 +0530)
commita444aa7a1cd9c209e6621fe0531f61f2f7c1a7e9
treed222466304c96db4babf249df957473bfad6f496
parentd05bfd0586ccebe96e31976459c8ef45ec65e109
spi: fsl_espi: 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>
drivers/spi/fsl_espi.c