From: Mika Westerberg Date: Thu, 10 Oct 2013 08:01:08 +0000 (+0300) Subject: gpiolib / ACPI: convert to gpiod interfaces X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~12^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=936e15dd2128eb5aa71251766f1176552b45f43c;p=pandora-kernel.git 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 Acked-by: Rafael J. Wysocki Reviewed-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-diff-tree failed