]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c28cb261b88c909a7c4c326bc7f4a1cd06141fa
tree376ed1e1d51a70262f825af17eee4eb56e363666
parent235d61846408dbf3e1cca77bee2d5b551f4b3fa9
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