Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: remove misleading documentation

It is currently debated where the functions to lock a certain
GPIO line as used for IRQs should be called. Delete all
misleading documentation.

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

+1 -4
+1 -4
drivers/gpio/gpiolib.c
··· 2167 2167 * @gpio: the GPIO line to lock as used for IRQ 2168 2168 * 2169 2169 * This is used directly by GPIO drivers that want to lock down 2170 - * a certain GPIO line to be used as IRQs, for example in the 2171 - * .to_irq() callback of their gpio_chip, or in the .irq_enable() 2172 - * of its irq_chip implementation if the GPIO is known from that 2173 - * code. 2170 + * a certain GPIO line to be used for IRQs. 2174 2171 */ 2175 2172 int gpiod_lock_as_irq(struct gpio_desc *desc) 2176 2173 {