aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-05-04 02:07:43 -0400
committerBen Dooks <ben-linux@fluff.org>2010-05-05 20:32:31 -0400
commite6528d5e8730b1f75acf035d7c11e06657963581 (patch)
tree646ab303d90108895955cba1bcd268f534eb1b52 /arch/arm/plat-s3c24xx
parenteee2b94f01f7379940a656af8ef097749ce025b5 (diff)
ARM: S3C24XX: Remove s3c2410_gpio_getpull()
Remove the unused s3c2410_gpio_getpull() Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r--arch/arm/plat-s3c24xx/gpio.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/plat-s3c24xx/gpio.c b/arch/arm/plat-s3c24xx/gpio.c
index 0b3b2cb228ab..9b3d74c186fc 100644
--- a/arch/arm/plat-s3c24xx/gpio.c
+++ b/arch/arm/plat-s3c24xx/gpio.c
@@ -20,7 +20,6 @@
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/ 21*/
22 22
23
24#include <linux/kernel.h> 23#include <linux/kernel.h>
25#include <linux/init.h> 24#include <linux/init.h>
26#include <linux/module.h> 25#include <linux/module.h>
@@ -75,18 +74,6 @@ void s3c2410_gpio_pullup(unsigned int pin, unsigned int to)
75 74
76EXPORT_SYMBOL(s3c2410_gpio_pullup); 75EXPORT_SYMBOL(s3c2410_gpio_pullup);
77 76
78int s3c2410_gpio_getpull(unsigned int pin)
79{
80 void __iomem *base = S3C24XX_GPIO_BASE(pin);
81 unsigned long offs = S3C2410_GPIO_OFFSET(pin);
82
83 if (pin < S3C2410_GPIO_BANKB)
84 return -EINVAL;
85
86 return (__raw_readl(base + 0x08) & (1L << offs)) ? 1 : 0;
87}
88
89EXPORT_SYMBOL(s3c2410_gpio_getpull);
90 77
91void s3c2410_gpio_setpin(unsigned int pin, unsigned int to) 78void s3c2410_gpio_setpin(unsigned int pin, unsigned int to)
92{ 79{