lcd: add lcd_device to check_fb() entry in lcd_ops
authorBen Dooks <ben-linux@fluff.org>
Thu, 24 Jul 2008 04:31:38 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:40 +0000 (10:47 -0700)
commit0c531360ed504aa0ce995fcb8ef08e82b6534d0b
tree9062cea313b833c57f3284653608d39df580a323
parentcccb6d3c149603b9c15d3c460dff317455df1766
lcd: add lcd_device to check_fb() entry in lcd_ops

Add the lcd_device being checked to the check_fb entry of lcd_ops.  This
ensures that any driver using this to check against it's own state can do
so, and also makes all the calls in lcd_ops more orthogonal in their
arguments.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/lcd.c
drivers/video/bf54x-lq043fb.c
drivers/video/bfin-t350mcqb-fb.c
include/linux/lcd.h