spi: tegra: Use DIV_ROUND_UP instead of open coded
authorAxel Lin <axel.lin@ingics.com>
Fri, 30 Aug 2013 03:00:23 +0000 (11:00 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:24:56 +0000 (00:24 +0100)
commite91d2352bb6ebd061b362b3c632ec517ac0c23b1
tree9f7367a2ffd833b3e8f6b6e134f651af7c7e05e8
parent272b98c6455f00884f0350f775c5342358ebb73f
spi: tegra: Use DIV_ROUND_UP instead of open coded

This also makes the intention more clear.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-tegra114.c
drivers/spi/spi-tegra20-sflash.c
drivers/spi/spi-tegra20-slink.c