]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gpio: remove misleading documentation
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Mar 2014 02:12:49 +0000 (10:12 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Mar 2014 03:56:45 +0000 (11:56 +0800)
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>
drivers/gpio/gpiolib.c

index 9cd7082cca08990ae2199ea725b26938eb084f58..aa6a11b452e2877300a3160161f740828a88e5ee 100644 (file)
@@ -2167,10 +2167,7 @@ EXPORT_SYMBOL_GPL(gpiod_to_irq);
  * @gpio: the GPIO line to lock as used for IRQ
  *
  * This is used directly by GPIO drivers that want to lock down
- * a certain GPIO line to be used as IRQs, for example in the
- * .to_irq() callback of their gpio_chip, or in the .irq_enable()
- * of its irq_chip implementation if the GPIO is known from that
- * code.
+ * a certain GPIO line to be used for IRQs.
  */
 int gpiod_lock_as_irq(struct gpio_desc *desc)
 {