mmc: omap: Use DIV_ROUND_UP instead of open coded
authorAxel Lin <axel.lin@ingics.com>
Sat, 3 May 2014 01:07:42 +0000 (09:07 +0800)
committerChris Ball <chris@printf.net>
Thu, 22 May 2014 12:33:31 +0000 (08:33 -0400)
commit03a16853401dcbb1495e7aef6f72b5281c3159e7
tree37ff283e45f46056dea6b6d31405a1156846feae
parente6cc0123d91e52a454d9e958b9124ca8a61fd82c
mmc: omap: Use DIV_ROUND_UP instead of open coded

Also uses NSEC_PER_SEC and USEC_PER_SEC instead of hard-coded value.
This makes the intention more clear.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/omap.c
This page took 0.024281 seconds and 5 git commands to generate.