projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: EXYNOS: Use gpio_request_one
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
mach-exynos
/
mach-smdkv310.c
diff --git
a/arch/arm/mach-exynos/mach-smdkv310.c
b/arch/arm/mach-exynos/mach-smdkv310.c
index cec2afabe7b42475e2d1f8585642b048ea7ee34b..cbf31bd0e2c941ea585063d421463e56ee1347ef 100644
(file)
--- a/
arch/arm/mach-exynos/mach-smdkv310.c
+++ b/
arch/arm/mach-exynos/mach-smdkv310.c
@@
-129,9
+129,7
@@
static void lcd_lte480wv_set_power(struct plat_lcd_data *pd,
gpio_free(EXYNOS4_GPD0(1));
#endif
/* fire nRESET on power up */
gpio_free(EXYNOS4_GPD0(1));
#endif
/* fire nRESET on power up */
- gpio_request(EXYNOS4_GPX0(6), "GPX0");
-
- gpio_direction_output(EXYNOS4_GPX0(6), 1);
+ gpio_request_one(EXYNOS4_GPX0(6), GPIOF_OUT_INIT_HIGH, "GPX0");
mdelay(100);
gpio_set_value(EXYNOS4_GPX0(6), 0);
mdelay(100);
gpio_set_value(EXYNOS4_GPX0(6), 0);