gpiolib: acpi: Add fwnode name to the GPIO interrupt label
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 17 Apr 2024 10:37:27 +0000 (13:37 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Apr 2024 09:57:58 +0000 (12:57 +0300)
commit716b532814ffd94792f9033c3ece79145d92d701
tree098b8475d6a90b8157495edad3ff9e4b57c0eff0
parent57b60ec4b30df188ca31bdd95971a6ef5dfc5094
gpiolib: acpi: Add fwnode name to the GPIO interrupt label

It's ambiguous to have a device-related index in the GPIO interrupt
label as most of the devices will have it the same or very similar.
Extend label with fwnode name for better granularity. It significantly
reduces the scope of searching among devices.

Ex. (for the PCA9355 and MAX3111e chips connected to the system):

=== Before ===
PCA953x: GpioInt() 0
MAX3111e: GpioInt() 0

=== After ===
PCA953x: NIO1 GpioInt(0)
MAX3111e: URT0 GpioInt(0)

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib-acpi.c