aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-davinci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
index a8066e8edade..df0d59570a84 100644
--- a/drivers/gpio/gpio-davinci.c
+++ b/drivers/gpio/gpio-davinci.c
@@ -230,9 +230,6 @@ static void gpio_irq_enable(struct irq_data *d)
230 230
231static int gpio_irq_type(struct irq_data *d, unsigned trigger) 231static int gpio_irq_type(struct irq_data *d, unsigned trigger)
232{ 232{
233 struct davinci_gpio_regs __iomem *g = irq2regs(d->irq);
234 u32 mask = (u32) irq_data_get_irq_handler_data(d);
235
236 if (trigger & ~(IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)) 233 if (trigger & ~(IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING))
237 return -EINVAL; 234 return -EINVAL;
238 235