* [PATCH] gpio: remove misleading documentation
@ 2014-03-07 2:15 Linus Walleij
2014-03-07 2:38 ` Alexandre Courbot
2014-03-10 20:21 ` Thomas Gleixner
0 siblings, 2 replies; 3+ messages in thread
From: Linus Walleij @ 2014-03-07 2:15 UTC (permalink / raw)
To: linux-gpio
Cc: Alexandre Courbot, Thomas Gleixner, Linus Walleij,
Jean-Jacques Hiblot
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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/gpio/gpiolib.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 9cd7082cca08..aa6a11b452e2 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -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)
{
--
1.8.5.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: remove misleading documentation
2014-03-07 2:15 [PATCH] gpio: remove misleading documentation Linus Walleij
@ 2014-03-07 2:38 ` Alexandre Courbot
2014-03-10 20:21 ` Thomas Gleixner
1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Courbot @ 2014-03-07 2:38 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-gpio@vger.kernel.org, Alexandre Courbot, Thomas Gleixner,
Jean-Jacques Hiblot
On Fri, Mar 7, 2014 at 11:15 AM, Linus Walleij <linus.walleij@linaro.org> wrote:
> It is currently debated where the functions to lock a certain
> GPIO line as used for IRQs should be called. Delete all
> misleading documentation.
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: remove misleading documentation
2014-03-07 2:15 [PATCH] gpio: remove misleading documentation Linus Walleij
2014-03-07 2:38 ` Alexandre Courbot
@ 2014-03-10 20:21 ` Thomas Gleixner
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Gleixner @ 2014-03-10 20:21 UTC (permalink / raw)
To: Linus Walleij; +Cc: linux-gpio, Alexandre Courbot, Jean-Jacques Hiblot
On Fri, 7 Mar 2014, Linus Walleij wrote:
> 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>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-10 20:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 2:15 [PATCH] gpio: remove misleading documentation Linus Walleij
2014-03-07 2:38 ` Alexandre Courbot
2014-03-10 20:21 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).