diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-04-11 19:22:32 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-04-15 15:12:18 +0200 |
commit | 57b60ec4b30df188ca31bdd95971a6ef5dfc5094 (patch) | |
tree | db9ea35a0c8b035399af0b347c0746eb91d2ea44 /drivers/pinctrl | |
parent | gpiolib: acpi: Move acpi_can_fallback_to_crs() out of __acpi_find_gpio() (diff) | |
download | linux-57b60ec4b30df188ca31bdd95971a6ef5dfc5094.tar.xz linux-57b60ec4b30df188ca31bdd95971a6ef5dfc5094.zip |
gpiolib: acpi: Pass con_id instead of property into acpi_dev_gpio_irq_get_by()
Pass the con_id instead of property so that callers won't repeat
the GPIO suffixes to try.
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-cy8c95x0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-cy8c95x0.c b/drivers/pinctrl/pinctrl-cy8c95x0.c index 67b5d160c027..981c569bd671 100644 --- a/drivers/pinctrl/pinctrl-cy8c95x0.c +++ b/drivers/pinctrl/pinctrl-cy8c95x0.c @@ -95,7 +95,7 @@ static int cy8c95x0_acpi_get_irq(struct device *dev) if (ret) dev_warn(dev, "can't add GPIO ACPI mapping\n"); - ret = acpi_dev_gpio_irq_get_by(ACPI_COMPANION(dev), "irq-gpios", 0); + ret = acpi_dev_gpio_irq_get_by(ACPI_COMPANION(dev), "irq", 0); if (ret < 0) return ret; |