summaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2013-10-10 10:01:08 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-10-19 23:30:51 +0200
commit936e15dd2128eb5aa71251766f1176552b45f43c (patch)
tree43443f12206375f6a1503c0924c7864ada8c67a4 /fs/file_table.c
parentgpiolib: add gpiod_get() and gpiod_put() functions (diff)
downloadlinux-936e15dd2128eb5aa71251766f1176552b45f43c.tar.xz
linux-936e15dd2128eb5aa71251766f1176552b45f43c.zip
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 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions