aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/s3c2410fb.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-09-22 16:47:41 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:56 -0700
commit9a4a83d2ed83da0c4b45289ca72f10205aa96589 (patch)
treef2e501093b84f26e01af2a2014a49c6de98038b3 /drivers/video/s3c2410fb.c
parentfb: fix fb_pan_display range check (diff)
downloadlinux-dev-9a4a83d2ed83da0c4b45289ca72f10205aa96589.tar.xz
linux-dev-9a4a83d2ed83da0c4b45289ca72f10205aa96589.zip
video: console, use DIV_ROUND_UP
Use DIV_ROUND_UP explicitly instead of manual shifts and adds. It makes the code more readable and consistent (sometimes there were shifts, sometimes divs). There is no change on the assembly level (compilers should do the right job). Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/s3c2410fb.c')
0 files changed, 0 insertions, 0 deletions