diff options
author | Olof Johansson <olof@lixom.net> | 2012-01-06 12:31:41 -0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-01-06 12:31:41 -0800 |
commit | 65db039bf7402f0a5b19cbf6dcff55ebea433b8b (patch) | |
tree | ccc18e9d71bb1b9dc1a69a2ba7ff18d8e376f7b3 /arch/arm/mach-exynos/mach-nuri.c | |
parent | 8a44930a11de8d66f92145fd2d2464ab4fba696b (diff) | |
parent | 321655efad26e03141b0bbfcfa9875056c1acb65 (diff) | |
download | op-kernel-dev-65db039bf7402f0a5b19cbf6dcff55ebea433b8b.zip op-kernel-dev-65db039bf7402f0a5b19cbf6dcff55ebea433b8b.tar.gz |
Merge branch 'next-samsung-cleanup-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into samsung/cleanup
Diffstat (limited to 'arch/arm/mach-exynos/mach-nuri.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-nuri.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c index 236bbe1..205dfed 100644 --- a/arch/arm/mach-exynos/mach-nuri.c +++ b/arch/arm/mach-exynos/mach-nuri.c @@ -247,13 +247,8 @@ static void nuri_lcd_power_on(struct plat_lcd_data *pd, unsigned int power) static int nuri_bl_init(struct device *dev) { - int ret, gpio = EXYNOS4_GPE2(3); - - ret = gpio_request(gpio, "LCD_LDO_EN"); - if (!ret) - gpio_direction_output(gpio, 0); - - return ret; + return gpio_request_one(EXYNOS4_GPE2(3), GPIOF_OUT_INIT_LOW, + "LCD_LD0_EN"); } static int nuri_bl_notify(struct device *dev, int brightness) |