Re: [PATCH v1 1/4] gpio: dwapb: Unify ACPI enumeration checks in get_irq() and configure_irqs()

From: Lee Jones
Date: Mon Aug 02 2021 - 04:49:12 EST


On Mon, 26 Jul 2021, Andy Shevchenko wrote:

> 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@xxxxxxxxxxxxxxx>
> ---
> drivers/gpio/gpio-dwapb.c | 13 ++++++-------

> drivers/mfd/intel_quark_i2c_gpio.c | 1 -

Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>

> include/linux/platform_data/gpio-dwapb.h | 1 -
> 3 files changed, 6 insertions(+), 9 deletions(-)

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog