Thread (10 messages) 10 messages, 3 authors, 2021-03-31

Re: [PATCH 1/3] docs: gpio: mockup: Fix parameter name

From: Bartosz Golaszewski <hidden>
Date: 2021-03-31 07:45:11
Also in: linux-gpio, lkml

On Mon, Mar 29, 2021 at 1:17 PM Alexander Dahl [off-list ref] wrote:
quoted hunk ↗ jump to hunk
Module probing with the parameter documented yielded this in kernel log:

        gpio_mockup: unknown parameter 'gpio_named_lines' ignored

The parameter documented did not match the parameter actually
implemented with commit 8a68ea00a62e ("gpio: mockup: implement naming
the lines") long before introducing the documentation.

Fixes: commit 2fd1abe99e5f ("Documentation: gpio: add documentation for gpio-mockup")
Signed-off-by: Alexander Dahl <redacted>
---
 Documentation/admin-guide/gpio/gpio-mockup.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/gpio/gpio-mockup.rst b/Documentation/admin-guide/gpio/gpio-mockup.rst
index 9fa1618b3adc..e3cafb4451aa 100644
--- a/Documentation/admin-guide/gpio/gpio-mockup.rst
+++ b/Documentation/admin-guide/gpio/gpio-mockup.rst
@@ -27,7 +27,7 @@ module.
         the second 16 and the third 4. The base GPIO for the third chip is set
         to 405 while for two first chips it will be assigned automatically.

-    gpio_named_lines
+    gpio_mockup_named_lines

         This parameter doesn't take any arguments. It lets the driver know that
         GPIO lines exposed by it should be named.
--
2.20.1
This was already fixed by Andy.

Bartosz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help