aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2019-10-09 11:55:22 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-16 11:47:14 -0300
commit727fe909af7545fc317cd1ead4678724ec87df0a (patch)
tree72a55a095423517a226e2f3d3d8b4ab147e01b90 /drivers/media/tuners
parentmedia: imon_raw: simplify loop (diff)
downloadlinux-dev-727fe909af7545fc317cd1ead4678724ec87df0a.tar.xz
linux-dev-727fe909af7545fc317cd1ead4678724ec87df0a.zip
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>
Diffstat (limited to 'drivers/media/tuners')
0 files changed, 0 insertions, 0 deletions