linux-sg2042/drivers/mmc
Andy Shevchenko ac330f44c6 mmc: omap_hsmmc: split duplicate code to calc_divisor() function
There are two places where the same calculations are done.
Let's split them into a separate function.

In addition, simplify by using the DIV_ROUND_UP kernel macro.

Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-07-21 10:35:02 -04:00
..
card mmc: block: fixed NULL pointer dereference 2011-07-21 10:35:00 -04:00
core mmc: core: Set non-default Drive Strength via platform hook 2011-07-20 17:21:16 -04:00
host mmc: omap_hsmmc: split duplicate code to calc_divisor() function 2011-07-21 10:35:02 -04:00
Kconfig mmc: explicitly mention SDIO support in Kconfig 2008-10-12 11:04:36 +02:00
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00