mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] docs/pinctrl: fix typo in mapping example
@ 2024-07-09 18:39 marc.ferland
  2024-07-16 17:12 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: marc.ferland @ 2024-07-09 18:39 UTC (permalink / raw)
  To: linus.walleij; +Cc: corbet, linux-gpio, linux-doc, linux-kernel, Marc Ferland

From: Marc Ferland <marc.ferland@sonatest.com>

Small typo. The device name in the example should be "foo-i2c.0" and
not "foo-i2c.o".

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
---
 Documentation/driver-api/pin-control.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/driver-api/pin-control.rst b/Documentation/driver-api/pin-control.rst
index 4639912dc9cc..27ea1236307e 100644
--- a/Documentation/driver-api/pin-control.rst
+++ b/Documentation/driver-api/pin-control.rst
@@ -1002,7 +1002,7 @@ it even more compact which assumes you want to use pinctrl-foo and position
 .. code-block:: c
 
 	static struct pinctrl_map mapping[] __initdata = {
-		PIN_MAP_MUX_GROUP("foo-i2c.o", PINCTRL_STATE_DEFAULT,
+		PIN_MAP_MUX_GROUP("foo-i2c.0", PINCTRL_STATE_DEFAULT,
 				  "pinctrl-foo", NULL, "i2c0"),
 	};
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs/pinctrl: fix typo in mapping example
  2024-07-09 18:39 [PATCH] docs/pinctrl: fix typo in mapping example marc.ferland
@ 2024-07-16 17:12 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2024-07-16 17:12 UTC (permalink / raw)
  To: marc.ferland, linus.walleij
  Cc: linux-gpio, linux-doc, linux-kernel, Marc Ferland

marc.ferland@gmail.com writes:

> From: Marc Ferland <marc.ferland@sonatest.com>
>
> Small typo. The device name in the example should be "foo-i2c.0" and
> not "foo-i2c.o".
>
> Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
> ---
>  Documentation/driver-api/pin-control.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/driver-api/pin-control.rst b/Documentation/driver-api/pin-control.rst
> index 4639912dc9cc..27ea1236307e 100644
> --- a/Documentation/driver-api/pin-control.rst
> +++ b/Documentation/driver-api/pin-control.rst
> @@ -1002,7 +1002,7 @@ it even more compact which assumes you want to use pinctrl-foo and position
>  .. code-block:: c
>  
>  	static struct pinctrl_map mapping[] __initdata = {
> -		PIN_MAP_MUX_GROUP("foo-i2c.o", PINCTRL_STATE_DEFAULT,
> +		PIN_MAP_MUX_GROUP("foo-i2c.0", PINCTRL_STATE_DEFAULT,
>  				  "pinctrl-foo", NULL, "i2c0"),

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-16 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-09 18:39 [PATCH] docs/pinctrl: fix typo in mapping example marc.ferland
2024-07-16 17:12 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®