summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
diff options
context:
space:
mode:
authorBen Dooks2010-05-04 06:22:58 +0200
committerBen Dooks2010-05-06 02:32:28 +0200
commit82a4b6dcc72da33943b16338f607e7e148d177e4 (patch)
tree95c8ffbfd91f9427028a528c045c75d99de45cce /arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
parentARM: S3C2410: Change s3c2410_gpio_pullupl(x, 1) to use s3c_gpio_cfgpull() (diff)
downloadkernel-qcow2-linux-82a4b6dcc72da33943b16338f607e7e148d177e4.tar.gz
kernel-qcow2-linux-82a4b6dcc72da33943b16338f607e7e148d177e4.tar.xz
kernel-qcow2-linux-82a4b6dcc72da33943b16338f607e7e148d177e4.zip
ARM: S3C24XX: Change s3c2410_gpio_pullupl(x, 1) to use s3c_gpio_cfgpull()
Start moving code that is using the old s3c2410_gpio API to using the newer s3c_gpio variants by finding all the usages of s3c2410_gpio_pullup() which disable the pin's pull up and replacing them. sed 's/s3c2410_gpio_pullup\(.*\), 1/s3c_gpio_cfgpull\1, S3C_GPIO_PULL_NONE/g' Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c')
-rw-r--r--arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c b/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
index 86b9edc67413..79105015cdc1 100644
--- a/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
+++ b/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
@@ -29,8 +29,8 @@ void s3c24xx_spi_gpiocfg_bus1_gpg5_6_7(struct s3c2410_spi_info *spi,
} else {
s3c2410_gpio_cfgpin(S3C2410_GPG(7), S3C2410_GPIO_INPUT);
s3c2410_gpio_cfgpin(S3C2410_GPG(5), S3C2410_GPIO_INPUT);
- s3c2410_gpio_pullup(S3C2410_GPG(5), 1);
- s3c2410_gpio_pullup(S3C2410_GPG(6), 1);
- s3c2410_gpio_pullup(S3C2410_GPG(7), 1);
+ s3c_gpio_cfgpull(S3C2410_GPG(5), S3C_GPIO_PULL_NONE);
+ s3c_gpio_cfgpull(S3C2410_GPG(6), S3C_GPIO_PULL_NONE);
+ s3c_gpio_cfgpull(S3C2410_GPG(7), S3C_GPIO_PULL_NONE);
}
}