]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: Introduce acpi_gpio_dev_init() and call it from core
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 9 Mar 2021 09:37:34 +0000 (11:37 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 26 Mar 2021 13:56:18 +0000 (14:56 +0100)
commita83d976bda95d97eba007d99581cee4c8b904667
treec34de1c01f789fa69b095bcf5055085fbe5497ec
parent86969974ee68e6fb34962de36c5b6af5645def79
gpiolib: Introduce acpi_gpio_dev_init() and call it from core

In the ACPI case we may use the firmware node in the similar way
as it's done for OF case. We may use that fwnode for other purposes
in the future.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpiolib-acpi.c
drivers/gpio/gpiolib-acpi.h
drivers/gpio/gpiolib.c