diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-01 07:12:24 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-22 22:52:26 -0400 |
commit | a7aac9d5b037be16d4ef5b1701b83774706daf53 (patch) | |
tree | 20b6329abe6b92b11c2b0a3e237b5658c3d0ebea /arch/arm/mach-s5pv210/setup-keypad.c | |
parent | 20dbc43dd33a35ee24b6892d980c5e6107a27d32 (diff) |
ARM: S5PV210: 2nd Change to using s3c_gpio_cfgrange_nopull()
This patch changes code setting special-function and no pull-up
to use the s3c_gpio_cfgrange_nopull() wrapper.
NOTE: This is for missed things from the previous patch.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/setup-keypad.c')
-rw-r--r-- | arch/arm/mach-s5pv210/setup-keypad.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-s5pv210/setup-keypad.c b/arch/arm/mach-s5pv210/setup-keypad.c index cb3f409f022c..c56420a52f48 100644 --- a/arch/arm/mach-s5pv210/setup-keypad.c +++ b/arch/arm/mach-s5pv210/setup-keypad.c | |||
@@ -17,10 +17,8 @@ | |||
17 | void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) | 17 | void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) |
18 | { | 18 | { |
19 | /* Set all the necessary GPH3 pins to special-function 3: KP_ROW[x] */ | 19 | /* Set all the necessary GPH3 pins to special-function 3: KP_ROW[x] */ |
20 | s3c_gpio_cfgall_range(S5PV210_GPH3(0), rows, | 20 | s3c_gpio_cfgrange_nopull(S5PV210_GPH3(0), rows, S3C_GPIO_SFN(3)); |
21 | S3C_GPIO_SFN(3), S3C_GPIO_PULL_NONE); | ||
22 | 21 | ||
23 | /* Set all the necessary GPH2 pins to special-function 3: KP_COL[x] */ | 22 | /* Set all the necessary GPH2 pins to special-function 3: KP_COL[x] */ |
24 | s3c_gpio_cfgall_range(S5PV210_GPH2(0), cols, | 23 | s3c_gpio_cfgrange_nopull(S5PV210_GPH2(0), cols, S3C_GPIO_SFN(3)); |
25 | S3C_GPIO_SFN(3), S3C_GPIO_PULL_NONE); | ||
26 | } | 24 | } |