gpiolib: acpi: Reuse struct acpi_gpio_params in struct acpi_gpio_lookup
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 Apr 2025 15:59:16 +0000 (18:59 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 7 Apr 2025 06:38:39 +0000 (09:38 +0300)
commitbd0df44795053e53a25c521016d083311a05fae0
tree9e275d5e0656e32ca55310a500c391dcb2537d83
parent8de54265eba0e7d7d6b0f46c0cff7a7b862a0df9
gpiolib: acpi: Reuse struct acpi_gpio_params in struct acpi_gpio_lookup

Some of the contents of struct acpi_gpio_lookup repeats what we have
in the struct acpi_gpio_params. Reuse the latter in the former.

Acked-by: Mika Westerberg <westeri@kernel.org>
Link: https://lore.kernel.org/r/20250403160034.2680485-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib-acpi.c