aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/mach-smdkv210.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-smdkv210.c')
-rw-r--r--arch/arm/mach-s5pv210/mach-smdkv210.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c
index a9106c392398..10a4ec6989c8 100644
--- a/arch/arm/mach-s5pv210/mach-smdkv210.c
+++ b/arch/arm/mach-s5pv210/mach-smdkv210.c
@@ -153,15 +153,12 @@ static void smdkv210_lte480wv_set_power(struct plat_lcd_data *pd,
153{ 153{
154 if (power) { 154 if (power) {
155#if !defined(CONFIG_BACKLIGHT_PWM) 155#if !defined(CONFIG_BACKLIGHT_PWM)
156 gpio_request(S5PV210_GPD0(3), "GPD0"); 156 gpio_request_one(S5PV210_GPD0(3), GPIOF_OUT_INIT_HIGH, "GPD0");
157 gpio_direction_output(S5PV210_GPD0(3), 1);
158 gpio_free(S5PV210_GPD0(3)); 157 gpio_free(S5PV210_GPD0(3));
159#endif 158#endif
160 159
161 /* fire nRESET on power up */ 160 /* fire nRESET on power up */
162 gpio_request(S5PV210_GPH0(6), "GPH0"); 161 gpio_request_one(S5PV210_GPH0(6), GPIOF_OUT_INIT_HIGH, "GPH0");
163
164 gpio_direction_output(S5PV210_GPH0(6), 1);
165 162
166 gpio_set_value(S5PV210_GPH0(6), 0); 163 gpio_set_value(S5PV210_GPH0(6), 0);
167 mdelay(10); 164 mdelay(10);
@@ -172,8 +169,7 @@ static void smdkv210_lte480wv_set_power(struct plat_lcd_data *pd,
172 gpio_free(S5PV210_GPH0(6)); 169 gpio_free(S5PV210_GPH0(6));
173 } else { 170 } else {
174#if !defined(CONFIG_BACKLIGHT_PWM) 171#if !defined(CONFIG_BACKLIGHT_PWM)
175 gpio_request(S5PV210_GPD0(3), "GPD0"); 172 gpio_request_one(S5PV210_GPD0(3), GPIOF_OUT_INIT_LOW, "GPD0");
176 gpio_direction_output(S5PV210_GPD0(3), 0);
177 gpio_free(S5PV210_GPD0(3)); 173 gpio_free(S5PV210_GPD0(3));
178#endif 174#endif
179 } 175 }