From: daeinki Date: Fri, 18 Dec 2009 02:56:41 +0000 (+0900) Subject: s5pc110: fb: code clean. X-Git-Tag: CES1223_2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b04550f65f1e2e37f65de554a6ac3d5be541686;p=kernel%2Fu-boot.git s5pc110: fb: code clean. Signed-off-by: daeinki --- diff --git a/board/samsung/universal/universal.c b/board/samsung/universal/universal.c index 2f882ff..4b616ad 100644 --- a/board/samsung/universal/universal.c +++ b/board/samsung/universal/universal.c @@ -1508,7 +1508,7 @@ void lcd_power_on(unsigned int onoff) /* if (board_is_p2_real()) - gpio_direction_output(&gpio->gpio_j1, 4, 1); + gpio_set_value(&gpio->gpio_j1, 4, 1); */ } else { if (machine_is_aquila() || machine_is_geminus()) @@ -1519,7 +1519,7 @@ void lcd_power_on(unsigned int onoff) /* if (board_is_p2_real()) - gpio_direction_output(&gpio->gpio_j1, 4, 0); + gpio_set_value(&gpio->gpio_j1, 4, 0); */ } } diff --git a/drivers/video/s6e63m0.c b/drivers/video/s6e63m0.c index 8ed40ca..e0053e0 100644 --- a/drivers/video/s6e63m0.c +++ b/drivers/video/s6e63m0.c @@ -33,14 +33,12 @@ #define PACKET_LEN 8 -struct s5pc110_gpio *gpio = (struct s5pc110_gpio *) S5PC110_GPIO_BASE; - struct s6e63m0_platform_data { struct s5pc1xx_gpio_bank *bank; unsigned int num; }; -/* these machine specific platform datas would be setting at universal.c */ +/* these machine specific platform data would be setting at universal.c */ struct s6e63m0_platform_data *spi_cs, *spi_clk, *spi_si, *spi_so; void cs_low(void) @@ -144,7 +142,7 @@ static const unsigned short SEQ_ETC_CONDITION_SET[] = { DATA_ONLY, 0x8c, DATA_ONLY, 0x07, - /* added */ + /* added for panel rev 0.1*/ 0xb3, 0xc, 0xb5, 0x2c, @@ -319,7 +317,7 @@ static const unsigned short SEQ_STAND_BY_ON[] = { ENDDEF, 0x0000 }; -/* added */ +/* added for panel rev 0.1*/ static const unsigned short SEQ_DISPLAY_ON[] = { 0x29, COMMAND_ONLY,