From 72670d7abe707ccf36172019fbf5421a058cfdde Mon Sep 17 00:00:00 2001 From: Donghwa Lee Date: Mon, 25 Jan 2010 12:09:24 +0900 Subject: [PATCH] s5pc110: lcd: s6e63m0 code clean --- drivers/video/s6e63m0.c | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/video/s6e63m0.c b/drivers/video/s6e63m0.c index ab609e0..ed6a8e4 100644 --- a/drivers/video/s6e63m0.c +++ b/drivers/video/s6e63m0.c @@ -325,13 +325,6 @@ static const unsigned short SEQ_ETC_CONDITION_SET[] = { DATA_ONLY, 0x66, DATA_ONLY, 0x66, - ENDDEF, 0x0000 -}; - -static const unsigned short SEQ_ACL_ON_SET[] = { - /* ACL on */ - 0xc0, 0x01, - 0xc1, 0x4d, DATA_ONLY, 0x96, DATA_ONLY, 0x1d, @@ -363,6 +356,20 @@ static const unsigned short SEQ_ACL_ON_SET[] = { ENDDEF, 0x0000 }; +static const unsigned short SEQ_ACL_ON[] = { + /* ACL on */ + 0xc0, 0x01, + + ENDDEF, 0x0000 +}; + +static const unsigned short SEQ_ACL_OFF[] = { + /* ACL on */ + 0xc0, 0x01, + + ENDDEF, 0x0000 +}; + static const unsigned short SEQ_STAND_BY_OFF[] = { 0x11, COMMAND_ONLY, @@ -518,7 +525,7 @@ void s6e63m0_cfg_ldo(void) s6e63m0_panel_send_sequence(SEQ_GAMMA_SETTING); s6e63m0_panel_send_sequence(SEQ_ETC_CONDITION_SET); - s6e63m0_panel_send_sequence(SEQ_ACL_ON_SET); + s6e63m0_panel_send_sequence(SEQ_ACL_ON); } void s6e63m0_enable_ldo(unsigned int onoff) -- 2.7.4