commit | 720088765312fddb09904cf2507b0e2c643e95ce | [log] [tgz] |
---|---|---|
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | Wed Dec 03 17:57:00 2014 +0900 |
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | Fri Dec 05 11:15:11 2014 +0900 |
tree | 75e007c78a848f003dfc07cf07b2d5dcfb0ca05f | |
parent | 8e738cef46bda204774004678a53beb14a79625b [diff] |
mmc: sh_mmcif: Use DIV_ROUND_UP and fls instead of calculation loop Use DIV_ROUND_UP and fls to simplify the code. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>