diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-08-04 19:00:16 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-08-11 15:56:43 +0300 |
commit | c1b291e96a6d27ac83938596829086945ff8a36e (patch) | |
tree | c6c70cd9ee3711af9d24750f20c7d0199a8f0932 /include/linux/platform_data/gpio-dwapb.h | |
parent | b390752191a6e09e8fb89625e227db0d5cc0ca33 (diff) | |
download | linux-c1b291e96a6d27ac83938596829086945ff8a36e.tar.xz |
gpio: dwapb: Unify ACPI enumeration checks in get_irq() and configure_irqs()
Shared IRQ is only enabled for ACPI enumeration, there is no need
to have a special flag for that, since we simple can test if device
has been enumerated by ACPI. This unifies the checks in dwapb_get_irq()
and dwapb_configure_irqs().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Diffstat (limited to 'include/linux/platform_data/gpio-dwapb.h')
-rw-r--r-- | include/linux/platform_data/gpio-dwapb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/platform_data/gpio-dwapb.h b/include/linux/platform_data/gpio-dwapb.h index 0aa5c6720259..535e5ed549d9 100644 --- a/include/linux/platform_data/gpio-dwapb.h +++ b/include/linux/platform_data/gpio-dwapb.h @@ -14,7 +14,6 @@ struct dwapb_port_property { unsigned int ngpio; unsigned int gpio_base; int irq[DWAPB_MAX_GPIOS]; - bool irq_shared; }; struct dwapb_platform_data { |