gpio: remove gpiod_lock/unlock_as_irq()
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 22 Jul 2014 07:17:42 +0000 (16:17 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 23 Jul 2014 15:43:24 +0000 (17:43 +0200)
commitd74be6dfea1b96cfb4bd79d9254fa9d21ed5f131
tree376ed1e1d51a70262f825af17eee4eb56e363666
parent1bd6b601fe196b6fbce2c93536ce0f3f53577cec
gpio: remove gpiod_lock/unlock_as_irq()

gpio_lock/unlock_as_irq() are working with (chip, offset) arguments and
are thus not using the old integer namespace. Therefore, there is no
reason to have gpiod variants of these functions working with
descriptors, especially since the (chip, offset) tuple is more suitable
to the users of these functions (GPIO drivers, whereas GPIO descriptors
are targeted at GPIO consumers).

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/gpio/driver.txt
drivers/gpio/gpiolib-acpi.c
drivers/gpio/gpiolib-legacy.c
drivers/gpio/gpiolib-sysfs.c
drivers/gpio/gpiolib.c
include/asm-generic/gpio.h
include/linux/gpio/driver.h