aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/sharpsl_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/sharpsl_pm.c')
-rw-r--r--arch/arm/mach-pxa/sharpsl_pm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c
index 0a36d3585f26..051a6555cbf9 100644
--- a/arch/arm/mach-pxa/sharpsl_pm.c
+++ b/arch/arm/mach-pxa/sharpsl_pm.c
@@ -860,18 +860,18 @@ static int sharpsl_pm_probe(struct platform_device *pdev)
860 860
861 /* Register interrupt handlers */ 861 /* Register interrupt handlers */
862 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_acin); 862 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_acin);
863 if (request_irq(irq, sharpsl_ac_isr, IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, "AC Input Detect", sharpsl_ac_isr)) { 863 if (request_irq(irq, sharpsl_ac_isr, IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, "AC Input Detect", sharpsl_ac_isr)) {
864 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq); 864 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq);
865 } 865 }
866 866
867 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_batlock); 867 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_batlock);
868 if (request_irq(irq, sharpsl_fatal_isr, IRQF_DISABLED | IRQF_TRIGGER_FALLING, "Battery Cover", sharpsl_fatal_isr)) { 868 if (request_irq(irq, sharpsl_fatal_isr, IRQF_TRIGGER_FALLING, "Battery Cover", sharpsl_fatal_isr)) {
869 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq); 869 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq);
870 } 870 }
871 871
872 if (sharpsl_pm.machinfo->gpio_fatal) { 872 if (sharpsl_pm.machinfo->gpio_fatal) {
873 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_fatal); 873 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_fatal);
874 if (request_irq(irq, sharpsl_fatal_isr, IRQF_DISABLED | IRQF_TRIGGER_FALLING, "Fatal Battery", sharpsl_fatal_isr)) { 874 if (request_irq(irq, sharpsl_fatal_isr, IRQF_TRIGGER_FALLING, "Fatal Battery", sharpsl_fatal_isr)) {
875 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq); 875 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq);
876 } 876 }
877 } 877 }
@@ -879,7 +879,7 @@ static int sharpsl_pm_probe(struct platform_device *pdev)
879 if (sharpsl_pm.machinfo->batfull_irq) { 879 if (sharpsl_pm.machinfo->batfull_irq) {
880 /* Register interrupt handler. */ 880 /* Register interrupt handler. */
881 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_batfull); 881 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_batfull);
882 if (request_irq(irq, sharpsl_chrg_full_isr, IRQF_DISABLED | IRQF_TRIGGER_RISING, "CO", sharpsl_chrg_full_isr)) { 882 if (request_irq(irq, sharpsl_chrg_full_isr, IRQF_TRIGGER_RISING, "CO", sharpsl_chrg_full_isr)) {
883 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq); 883 dev_err(sharpsl_pm.dev, "Could not get irq %d.\n", irq);
884 } 884 }
885 } 885 }