]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
gpiolib: acpi: Correct kernel doc of struct acpi_gpio_event
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 25 Jan 2019 17:03:02 +0000 (19:03 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Jan 2019 14:24:15 +0000 (15:24 +0100)
The checker complains during build

gpiolib-acpi.c:45: warning: Function parameter or member 'irq_requested' not described in 'acpi_gpio_event'

because the typo in the field description.

Fix the name to have documentation up-to-date.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-acpi.c

index f0763e0e02f1b84b28fc283e16a2fd998164ed52..3401823427f6e225bdfefaa775a10755cc8a20af 100644 (file)
@@ -29,7 +29,7 @@
  * @irq:         Linux IRQ number for the event, for request_ / free_irq
  * @irqflags:     flags to pass to request_irq when requesting the IRQ
  * @irq_is_wake:  If the ACPI flags indicate the IRQ is a wakeup source
- * @is_requested: True if request_irq has been done
+ * @irq_requested:True if request_irq has been done
  * @desc:        gpio_desc for the GPIO pin for this event
  */
 struct acpi_gpio_event {