mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 14:04:05 +08:00
gpiolib: Drop unused domain_ops memeber of GPIO IRQ chip
It seems there is no driver that requires custom IRQ chip domain options. Drop the member and respective code. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
c07ce33a1d
commit
a48b3f7be9
@ -1669,11 +1669,10 @@ static int gpiochip_add_irqchip(struct gpio_chip *gc,
|
||||
if (ret)
|
||||
return ret;
|
||||
} else {
|
||||
/* Some drivers provide custom irqdomain ops */
|
||||
gc->irq.domain = irq_domain_create_simple(fwnode,
|
||||
gc->ngpio,
|
||||
gc->irq.first,
|
||||
gc->irq.domain_ops ?: &gpiochip_domain_ops,
|
||||
&gpiochip_domain_ops,
|
||||
gc);
|
||||
if (!gc->irq.domain)
|
||||
return -EINVAL;
|
||||
|
@ -61,13 +61,6 @@ struct gpio_irq_chip {
|
||||
*/
|
||||
struct irq_domain *domain;
|
||||
|
||||
/**
|
||||
* @domain_ops:
|
||||
*
|
||||
* Table of interrupt domain operations for this IRQ chip.
|
||||
*/
|
||||
const struct irq_domain_ops *domain_ops;
|
||||
|
||||
#ifdef CONFIG_IRQ_DOMAIN_HIERARCHY
|
||||
/**
|
||||
* @fwnode:
|
||||
|
Loading…
Reference in New Issue
Block a user