* [PATCH] gpiolib: Document new gpio_chip.init_valid_mask field
@ 2019-07-01 14:26 Geert Uytterhoeven
2019-07-04 7:34 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2019-07-01 14:26 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: Ricardo Ribalda Delgado, linux-gpio, linux-kernel, Geert Uytterhoeven
A new field init_valid_mask was added to struct gpio_chip, but it was
not documented.
Fixes: f8ec92a9f63b3b11 ("gpiolib: Add init_valid_mask exported function")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
include/linux/gpio/driver.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 02698c0f34eaef16..269a4433f70cf6d8 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -194,6 +194,8 @@ struct gpio_irq_chip {
* @dbg_show: optional routine to show contents in debugfs; default code
* will be used when this is omitted, but custom code can show extra
* state (such as pullup/pulldown configuration).
+ * @init_valid_mask: optional routine to initialize @valid_mask, to be used if
+ * not all GPIOs are valid.
* @base: identifies the first GPIO number handled by this chip;
* or, if negative during registration, requests dynamic ID allocation.
* DEPRECATION: providing anything non-negative and nailing the base
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpiolib: Document new gpio_chip.init_valid_mask field
2019-07-01 14:26 [PATCH] gpiolib: Document new gpio_chip.init_valid_mask field Geert Uytterhoeven
@ 2019-07-04 7:34 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2019-07-04 7:34 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Bartosz Golaszewski, Ricardo Ribalda Delgado,
open list:GPIO SUBSYSTEM, linux-kernel
On Mon, Jul 1, 2019 at 4:26 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> A new field init_valid_mask was added to struct gpio_chip, but it was
> not documented.
>
> Fixes: f8ec92a9f63b3b11 ("gpiolib: Add init_valid_mask exported function")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-04 7:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-01 14:26 [PATCH] gpiolib: Document new gpio_chip.init_valid_mask field Geert Uytterhoeven
2019-07-04 7:34 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).