]> 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)
commit3a19dbfaf38847484ca8d46d33d60929978e62a3
tree376ed1e1d51a70262f825af17eee4eb56e363666
parent3d9bde0c27df07b3b60d8a52a648d98f8fa19719
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