mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
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>
This commit is contained in:
parent
2d61e3e907
commit
ba519dd46c
1 changed files with 5 additions and 5 deletions
|
@ -353,15 +353,15 @@ static void intel_mid_irq_init_hw(struct intel_mid_gpio *priv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int intel_gpio_irq_map(struct irq_domain *d, unsigned int virq,
|
static int intel_gpio_irq_map(struct irq_domain *d, unsigned int irq,
|
||||||
irq_hw_number_t hw)
|
irq_hw_number_t hwirq)
|
||||||
{
|
{
|
||||||
struct intel_mid_gpio *priv = d->host_data;
|
struct intel_mid_gpio *priv = d->host_data;
|
||||||
|
|
||||||
irq_set_chip_and_handler_name(virq, &intel_mid_irqchip,
|
irq_set_chip_and_handler_name(irq, &intel_mid_irqchip,
|
||||||
handle_simple_irq, "demux");
|
handle_simple_irq, "demux");
|
||||||
irq_set_chip_data(virq, priv);
|
irq_set_chip_data(irq, priv);
|
||||||
irq_set_irq_type(virq, IRQ_TYPE_NONE);
|
irq_set_irq_type(irq, IRQ_TYPE_NONE);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue