summaryrefslogtreecommitdiff
path: root/drivers/nubus
diff options
context:
space:
mode:
authorAndy Shevchenko <ext-andriy.shevchenko@nokia.com>2011-05-10 16:51:54 +0400
committerChris Ball <cjb@laptop.org>2011-07-21 18:35:02 +0400
commitac330f44c6bcc5f8ef7eb6ea7fd00575a1d5ef1a (patch)
treed2797250070bb1a7b833113deef6962ff7706065 /drivers/nubus
parent6b206efeccacafc8cd0cc0b72ff92f2be175ca9e (diff)
downloadlinux-ac330f44c6bcc5f8ef7eb6ea7fd00575a1d5ef1a.tar.xz
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>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions