aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-10-11 13:27:02 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-10-16 03:59:51 -0400
commitba519dd46c46fb923b531ef833aac074cb0114b3 (patch)
treef576cb7d6276f0edabf68f46b01c64be1e87032b /drivers/gpio
parent2d61e3e90798fdedb0a33714a30b241a5d5f2744 (diff)
gpio: intel-mid: drop references to "virtual" IRQ
Rename the argument "virq" to just "irq", this IRQ isn't any more "virtual" than any other Linux IRQ number, we use "hwirq" for the actual hw-numbers, "virq" is just bogus. Acked-by: David Cohen <david.a.cohen@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-intel-mid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpio/gpio-intel-mid.c b/drivers/gpio/gpio-intel-mid.c
index 612b54d3a3bf..be803af658ac 100644
--- a/drivers/gpio/gpio-intel-mid.c
+++ b/drivers/gpio/gpio-intel-mid.c
@@ -353,15 +353,15 @@ static void intel_mid_irq_init_hw(struct intel_mid_gpio *priv)
353 } 353 }
354} 354}
355 355
356static int intel_gpio_irq_map(struct irq_domain *d, unsigned int virq, 356static int intel_gpio_irq_map(struct irq_domain *d, unsigned int irq,
357 irq_hw_number_t hw) 357 irq_hw_number_t hwirq)
358{ 358{
359 struct intel_mid_gpio *priv = d->host_data; 359 struct intel_mid_gpio *priv = d->host_data;
360 360
361 irq_set_chip_and_handler_name(virq, &intel_mid_irqchip, 361 irq_set_chip_and_handler_name(irq, &intel_mid_irqchip,
362 handle_simple_irq, "demux"); 362 handle_simple_irq, "demux");
363 irq_set_chip_data(virq, priv); 363 irq_set_chip_data(irq, priv);
364 irq_set_irq_type(virq, IRQ_TYPE_NONE); 364 irq_set_irq_type(irq, IRQ_TYPE_NONE);
365 365
366 return 0; 366 return 0;
367} 367}