[media] mceusb: Optimize DIV_ROUND_CLOSEST call
authorJean Delvare <khali@linux-fr.org>
Sat, 1 Sep 2012 17:53:57 +0000 (14:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 Sep 2012 15:22:58 +0000 (12:22 -0300)
commited7dd240075fabf38e489930e39eab2dfa836520
treea673bc772c7899466b6be8c39e61bcbe0058c287
parent8b03663644002a6c742dd38dbdc8300da85293da
[media] mceusb: Optimize DIV_ROUND_CLOSEST call

DIV_ROUND_CLOSEST is faster if the compiler knows it will only be
dealing with unsigned dividends.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/mceusb.c