]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
docs/pinctrl: fix typo in mapping example
authorMarc Ferland <marc.ferland@sonatest.com>
Tue, 9 Jul 2024 18:39:19 +0000 (14:39 -0400)
committerJonathan Corbet <corbet@lwn.net>
Tue, 16 Jul 2024 17:11:14 +0000 (11:11 -0600)
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>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240709183919.3337131-1-marc.ferland@sonatest.com
Documentation/driver-api/pin-control.rst

index 4639912dc9cc741b694c246e8438d3c56203b6be..27ea1236307e84965598c69d5e687055153823d1 100644 (file)
@@ -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"),
        };