commit | 727fe909af7545fc317cd1ead4678724ec87df0a | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Wed Oct 09 11:55:22 2019 -0300 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Wed Oct 16 11:47:14 2019 -0300 |
tree | 72a55a095423517a226e2f3d3d8b4ab147e01b90 | |
parent | d587cdb2a5f57053ef182f64894ed3ba9e1559dc [diff] |
media: dvb-frontends: Use DIV_ROUND_CLOSEST directly to make it readable The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d but is perhaps more readable. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>