]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fbdev: clean up exit patch of fb_set_var
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:39:52 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:33 +0000 (11:15 -0700)
commitb1e7223f28b4ed5073d2029a3597bf514ff514f2
treed3b41f37e9aa57e4dc400333e9ee3f25afd9018c
parent0959f0ca29244ae983b406fba313816a29244be7
fbdev: clean up exit patch of fb_set_var

Clean up exit patch of fb_set_var():

- consolidate all return values into a single local variable
- ensure that return values are valid error codes
- fix fb_set_var() returning success when fb_check_caps() failed

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbmem.c