gpio: fix kernel-doc notation warning for 'request_key'
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 3 Sep 2018 19:55:30 +0000 (12:55 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Sep 2018 06:48:24 +0000 (08:48 +0200)
Fix kernel-doc warning for missing struct member 'request_key':

../include/linux/gpio/driver.h:142: warning: Function parameter or member 'request_key' not described in 'gpio_irq_chip'

Fixes: 39c3fd58952d ("kernel/irq: Extend lockdep class for request mutex")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/gpio/driver.h

index 0ea328e71ec9690056fe36f71e9aa80b65e1cde2..4a4f410b5285fd5681dbc30b7f223be44c9cc476 100644 (file)
@@ -66,9 +66,15 @@ struct gpio_irq_chip {
        /**
         * @lock_key:
         *
-        * Per GPIO IRQ chip lockdep classes.
+        * Per GPIO IRQ chip lockdep class for IRQ lock.
         */
        struct lock_class_key *lock_key;
+
+       /**
+        * @request_key:
+        *
+        * Per GPIO IRQ chip lockdep class for IRQ request.
+        */
        struct lock_class_key *request_key;
 
        /**