From: Tomi Valkeinen Date: Wed, 12 Sep 2012 10:30:39 +0000 (+0300) Subject: OMAPDSS: combine LCD related config into one func X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~2^2^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb2cec1f72acb030180aa96cd150b47b562bc999;p=pandora-kernel.git OMAPDSS: combine LCD related config into one func Dispc has a bunch of functions used to configure output related parameters: - dispc_mgr_set_io_pad_mode - dispc_mgr_enable_stallmode - dispc_mgr_enable_fifohandcheck - dispc_mgr_set_clock_div - dispc_mgr_set_tft_data_lines - dispc_lcd_enable_signal_polarity - dispc_mgr_set_lcd_type_tft These are all called together, and the configuration values are taken from struct dss_lcd_mgr_config. Instead of exposing those individual dispc functions, create a new one, dispc_mgr_set_lcd_config(), which is used to configure the above parameters from values in struct dss_lcd_mgr_config. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed