commit | f5332b000707b0b415291901846c4a8fc24f6a2e | [log] [tgz] |
---|---|---|
author | Ivan Safonov <insafonov@gmail.com> | Sun Apr 16 23:21:15 2017 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 18 16:48:26 2017 +0200 |
tree | 5e0f88ab36581200608c884301c24a4f7cb0aabb | |
parent | ec1dafe8ec5f846d6b1b280309d8b03d25b096fd [diff] |
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>