fbdev: sh_mobile_lcdc: Store the format in struct sh_mobile_lcdc_chan
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 29 Nov 2011 15:05:36 +0000 (16:05 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 12 Mar 2012 21:40:56 +0000 (22:40 +0100)
commitfc9e78e6b3d2ba2e96426527b8231f6b7c7b7b96
treea846f4f8dba95e2d7c08784bf213cb5fd59059be
parent105784bbb47cd76f0fc32954b047a13b704fa840
fbdev: sh_mobile_lcdc: Store the format in struct sh_mobile_lcdc_chan

Store the active format in the channel structure, and use it instead of
parsing info->var all over the place when the format is needed.

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