usb-hub: use DIV_ROUND_UP
commit54ac85ef0d5c76503548cec29e4e0b556e3cf00b
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 22 Jun 2017 11:04:16 +0000 (22 13:04 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 31 Aug 2017 10:29:07 +0000 (31 12:29 +0200)
tree7af6189d02a551dc2a5db28c77be1143766bda95
parentfa141081b9e2b6c4ae963604fcb5b994ff322936
usb-hub: use DIV_ROUND_UP

I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
hw/usb/dev-hub.c