mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-12 08:09:56 +00:00
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>
This commit is contained in:
parent
76b3627ea5
commit
f438acdf3d
@ -2167,10 +2167,7 @@ EXPORT_SYMBOL_GPL(gpiod_to_irq);
|
|||||||
* @gpio: the GPIO line to lock as used for IRQ
|
* @gpio: the GPIO line to lock as used for IRQ
|
||||||
*
|
*
|
||||||
* This is used directly by GPIO drivers that want to lock down
|
* 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
|
* a certain GPIO line to be used for IRQs.
|
||||||
* .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.
|
|
||||||
*/
|
*/
|
||||||
int gpiod_lock_as_irq(struct gpio_desc *desc)
|
int gpiod_lock_as_irq(struct gpio_desc *desc)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user