summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
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 /tools/perf/scripts/python
parentd587cdb2a5f57053ef182f64894ed3ba9e1559dc (diff)
downloadlinux-727fe909af7545fc317cd1ead4678724ec87df0a.tar.gz
linux-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions