gpio: drop users of irq_set_chip_and_handler_name()
Switch all users of irq_set_chip_and_handler_name() to simply use irq_set_chip_and_handler(), all just provide a boilerplate name like "demux" or "mux" - a fact which is anyway obvious from the hwirq number from the irqdomain now present in e.g. /proc/interrupts. Cc: Mathias Nyman <mathias.nyman@linux.intel.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: David Cohen <david.a.cohen@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -358,8 +358,7 @@ static int intel_gpio_irq_map(struct irq_domain *d, unsigned int irq,
|
||||
{
|
||||
struct intel_mid_gpio *priv = d->host_data;
|
||||
|
||||
irq_set_chip_and_handler_name(irq, &intel_mid_irqchip,
|
||||
handle_simple_irq, "demux");
|
||||
irq_set_chip_and_handler(irq, &intel_mid_irqchip, handle_simple_irq);
|
||||
irq_set_chip_data(irq, priv);
|
||||
irq_set_irq_type(irq, IRQ_TYPE_NONE);
|
||||
|
||||
|
Reference in New Issue
Block a user