diff options
author | 2017-04-16 23:21:15 -0500 | |
---|---|---|
committer | 2017-04-18 16:48:26 +0200 | |
commit | f5332b000707b0b415291901846c4a8fc24f6a2e (patch) | |
tree | 5e0f88ab36581200608c884301c24a4f7cb0aabb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xhci: use correct flags for spin_lock_irqrestore() when setting port power (diff) | |
download | wireguard-linux-f5332b000707b0b415291901846c4a8fc24f6a2e.tar.xz wireguard-linux-f5332b000707b0b415291901846c4a8fc24f6a2e.zip |
usb: musb: cppi_dma.c: use DIV_ROUND_UP macro in cppi_next_(r|t)x_segment()
DIV_ROUND_UP is bit useful than series of "/" and "%" operations.
Replace "/%" sequence with DIV_ROUND_UP macro.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions