diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2013-10-10 12:01:08 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-10-20 01:30:51 +0400 |
commit | 936e15dd2128eb5aa71251766f1176552b45f43c (patch) | |
tree | 43443f12206375f6a1503c0924c7864ada8c67a4 /drivers/gpio/gpio-pl061.c | |
parent | bae48da237fcedd7ad09569025483b988635efb7 (diff) | |
download | linux-936e15dd2128eb5aa71251766f1176552b45f43c.tar.xz |
gpiolib / ACPI: convert to gpiod interfaces
The new GPIO descriptor based interface is now preferred over the old
integer based one. This patch converts the ACPI GPIO helpers to use this
new interface internally. In addition to that provide compatibility
function acpi_get_gpio_by_index() that converts the returned GPIO
descriptor to an integer.
We also drop acpi_get_gpio() as it is not used anywhere outside
gpiolib-acpi and even there we use acpi_get_gpiod() instead.
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>
Diffstat (limited to 'drivers/gpio/gpio-pl061.c')
0 files changed, 0 insertions, 0 deletions