fbdev: sh_mobile_lcdc: Add sh_mobile_format_info() function
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 29 Nov 2011 14:58:10 +0000 (15:58 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 12 Mar 2012 21:40:56 +0000 (22:40 +0100)
commit105784bbb47cd76f0fc32954b047a13b704fa840
tree72e09b02c179308a679c2203b5d2d860617b1bca
parent740f802af2d8c46f1423b6b3daa33e4e1ea223f0
fbdev: sh_mobile_lcdc: Add sh_mobile_format_info() function

The function returns a pointer to a structure describing a format based
on its fourcc. Use the function where applicable instead of hardcoded
switch-case statements.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sh_mobile_lcdcfb.c