HID: Use DIV_ROUND_UP
authorJulia Lawall <julia@diku.dk>
Fri, 15 Feb 2008 12:53:11 +0000 (13:53 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 18 Mar 2008 10:20:30 +0000 (11:20 +0100)
commit92c4a1b9f257a242866be13c7c61e7a40616ec52
tree9021cca1fad5e8d7888222763695106571000618
parent790c9d8d87f15827a455b191924aee9b397ce2b1
HID: Use DIV_ROUND_UP

The kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) /
(d)) but is perhaps more readable.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c