gpiolib / ACPI: add ACPI support for gpiod_get_index()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 10 Oct 2013 08:01:09 +0000 (11:01 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 19 Oct 2013 21:31:37 +0000 (23:31 +0200)
commit81f59e9d138c3ba0bd0f97d4e14f856d987e3f1d
tree5f7eaefa918749407da0958a97096eba56a42500
parent936e15dd2128eb5aa71251766f1176552b45f43c
gpiolib / ACPI: add ACPI support for gpiod_get_index()

gpiod_get_index() and gpiod_get() are now the new preferred way to request
GPIOs. Add support for finding the corresponding GPIO descriptor from ACPI
namespace.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c