Skip to content

Commit f99d479

Browse files
geertuLinus Walleij
authored andcommitted
gpiolib: Document new gpio_chip.init_valid_mask field
A new field init_valid_mask was added to struct gpio_chip, but it was not documented. Fixes: f8ec92a ("gpiolib: Add init_valid_mask exported function") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20190701142650.25122-1-geert+renesas@glider.be Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 01f14c5 commit f99d479

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎include/linux/gpio/driver.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ struct gpio_irq_chip {
194194
* @dbg_show: optional routine to show contents in debugfs; default code
195195
* will be used when this is omitted, but custom code can show extra
196196
* state (such as pullup/pulldown configuration).
197+
* @init_valid_mask: optional routine to initialize @valid_mask, to be used if
198+
* not all GPIOs are valid.
197199
* @base: identifies the first GPIO number handled by this chip;
198200
* or, if negative during registration, requests dynamic ID allocation.
199201
* DEPRECATION: providing anything non-negative and nailing the base

0 commit comments

Comments
 (0)