diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-05-04 04:14:10 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-05 20:32:32 -0400 |
commit | 5690a6267f0f0f15a01eeed143828726627c6ae6 (patch) | |
tree | b2f9038e4e2bb1a1d0d5d805249c928f521de165 /arch/arm/plat-s3c24xx/pm.c | |
parent | e6528d5e8730b1f75acf035d7c11e06657963581 (diff) |
ARM: S3C24XX: Remove s3c2410_gpio_getirq()
Remove s3c2410_gpio_getirq() as the only users is the pm code, and it
can be replicated by using gpio_to_irq().
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx/pm.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/pm.c b/arch/arm/plat-s3c24xx/pm.c index 37ea822c5c7b..691fecc61d53 100644 --- a/arch/arm/plat-s3c24xx/pm.c +++ b/arch/arm/plat-s3c24xx/pm.c | |||
@@ -91,7 +91,7 @@ static void s3c_pm_check_resume_pin(unsigned int pin, unsigned int irqoffs) | |||
91 | { | 91 | { |
92 | unsigned long irqstate; | 92 | unsigned long irqstate; |
93 | unsigned long pinstate; | 93 | unsigned long pinstate; |
94 | int irq = s3c2410_gpio_getirq(pin); | 94 | int irq = gpio_to_irq(pin); |
95 | 95 | ||
96 | if (irqoffs < 4) | 96 | if (irqoffs < 4) |
97 | irqstate = s3c_irqwake_intmask & (1L<<irqoffs); | 97 | irqstate = s3c_irqwake_intmask & (1L<<irqoffs); |