diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-03-06 21:12:49 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-03-06 22:56:45 -0500 |
commit | f438acdf3de8f19ad2789eddbf52e3280292759b (patch) | |
tree | ddede1e61f75da9b8259666677f2af6de7bad8d0 /drivers/gpio | |
parent | 76b3627ea511f73c25c9d9a4c28e4449d72a9b1c (diff) |
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpiolib.c | 5 |
1 files changed, 1 insertions, 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); | |||
2167 | * @gpio: the GPIO line to lock as used for IRQ | 2167 | * @gpio: the GPIO line to lock as used for IRQ |
2168 | * | 2168 | * |
2169 | * This is used directly by GPIO drivers that want to lock down | 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 | 2170 | * a certain GPIO line to be used for IRQs. |
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. | ||
2174 | */ | 2171 | */ |
2175 | int gpiod_lock_as_irq(struct gpio_desc *desc) | 2172 | int gpiod_lock_as_irq(struct gpio_desc *desc) |
2176 | { | 2173 | { |