]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: ns16550: use DIV_ROUND_CLOSEST macro to compute the divisor
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 11 Jul 2014 11:29:03 +0000 (20:29 +0900)
committerTom Rini <trini@ti.com>
Tue, 22 Jul 2014 11:44:25 +0000 (07:44 -0400)
commitf8c7c2033df1f8aa1cd329292f01e87972d84535
treefb271d0907cb1c387bbdadb49d7b796ec6f86e74
parent841977df21e5f2c1276ae5a33cca3ac4fb976ad9
serial: ns16550: use DIV_ROUND_CLOSEST macro to compute the divisor

The function still returns the same value.

The comment block is no longer necessary because our intention is
clear enough by using DIV_ROUND_CLOSEST() macro.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
drivers/serial/serial_ns16550.c