s5pc110: fb: code clean.
authordaeinki <inki.dae@samsung.com>
Fri, 18 Dec 2009 02:56:41 +0000 (11:56 +0900)
committerdaeinki <inki.dae@samsung.com>
Fri, 18 Dec 2009 02:56:41 +0000 (11:56 +0900)
Signed-off-by: daeinki <inki.dae@samsung.com>
board/samsung/universal/universal.c
drivers/video/s6e63m0.c

index 2f882ff..4b616ad 100644 (file)
@@ -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);
                */
        }
 }
index 8ed40ca..e0053e0 100644 (file)
 
 #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,