diff options
author | Ivan Safonov <insafonov@gmail.com> | 2017-04-16 23:21:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-18 16:48:26 +0200 |
commit | f5332b000707b0b415291901846c4a8fc24f6a2e (patch) | |
tree | 5e0f88ab36581200608c884301c24a4f7cb0aabb /drivers/usb/musb/ux500_dma.c | |
parent | ec1dafe8ec5f846d6b1b280309d8b03d25b096fd (diff) | |
download | linux-f5332b000707b0b415291901846c4a8fc24f6a2e.tar.bz2 |
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 'drivers/usb/musb/ux500_dma.c')
0 files changed, 0 insertions, 0 deletions