]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: S3C2410: Remove the users of s3c2410_gpio_pullup()
authorBen Dooks <ben-linux@fluff.org>
Thu, 6 May 2010 02:03:50 +0000 (11:03 +0900)
committerBen Dooks <ben-linux@fluff.org>
Thu, 6 May 2010 02:03:50 +0000 (11:03 +0900)
Remove the last s3c2410_gpio_pullup() users in arch/arm/mach-s3c2410

Note, since mach-h1940.c is setting output and a pull-up, the call
has vbeen chanerd to S3C_GPIO_PULL_NONE instead of S3C_GPIO_PULL_UP.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2410/mach-amlm5900.c
arch/arm/mach-s3c2410/mach-h1940.c

index b42a76042af537a1e2765c4afc53bcde859c6140..34fc05a4244b6424230d3f7d0f386ab516fed3ac 100644 (file)
@@ -227,7 +227,7 @@ static void amlm5900_init_pm(void)
                enable_irq_wake(IRQ_EINT9);
                /* configure the suspend/resume status pin */
                s3c_gpio_cfgpin(S3C2410_GPF(2), S3C2410_GPIO_OUTPUT);
-               s3c2410_gpio_pullup(S3C2410_GPF(2), 0);
+               s3c_gpio_setpull(S3C2410_GPF(2), S3C_GPIO_PULL_UP);
        }
 }
 static void __init amlm5900_init(void)
index e2f7e64a526b76bd7a92a88f4ef0b3c37331cf59..9531b4c41deb17b7c6b975d173a78b0b21422d53 100644 (file)
@@ -209,7 +209,7 @@ static int h1940_backlight_init(struct device *dev)
        gpio_request(S3C2410_GPB(0), "Backlight");
 
        gpio_direction_output(S3C2410_GPB(0), 0);
-       s3c2410_gpio_pullup(S3C2410_GPB(0), 0);
+       s3c_gpio_setpull(S3C2410_GPB(0), S3C_GPIO_PULL_NONE);
        s3c_gpio_cfgpin(S3C2410_GPB(0), S3C2410_GPB0_TOUT0);
 
        return 0;