From: Hans Verkuil <hans.verkuil@xxxxxxxxx> These functions no longer need to be called by drivers, so just drop this section from the documentation. Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> --- Documentation/driver-api/gpio/driver.rst | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/Documentation/driver-api/gpio/driver.rst b/Documentation/driver-api/gpio/driver.rst index cbe0242842d1..15e22df72076 100644 --- a/Documentation/driver-api/gpio/driver.rst +++ b/Documentation/driver-api/gpio/driver.rst @@ -358,25 +358,6 @@ keep track of usage inside of the gpiolib subsystem. This is why the API below exists. -Locking IRQ usage ------------------ -Input GPIOs can be used as IRQ signals. When this happens, a driver is requested -to mark the GPIO as being used as an IRQ:: - - int gpiochip_lock_as_irq(struct gpio_chip *chip, unsigned int offset) - -This will prevent the use of non-irq related GPIO APIs until the GPIO IRQ lock -is released:: - - void gpiochip_unlock_as_irq(struct gpio_chip *chip, unsigned int offset) - -When implementing an irqchip inside a GPIO driver, these two functions should -typically be called in the .startup() and .shutdown() callbacks from the -irqchip. - -When using the gpiolib irqchip helpers, these callback are automatically -assigned. - Real-Time compliance for GPIO IRQ chips --------------------------------------- -- 2.18.0