Skip to content

Commit f8e52fb

Browse files
mferlandJonathan Corbet
authored andcommitted
docs/pinctrl: fix typo in mapping example
Small typo. The device name in the example should be "foo-i2c.0" and not "foo-i2c.o". Signed-off-by: Marc Ferland <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e35fa1f commit f8e52fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/driver-api/pin-control.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ it even more compact which assumes you want to use pinctrl-foo and position
10021002
.. code-block:: c
10031003
10041004
static struct pinctrl_map mapping[] __initdata = {
1005-
PIN_MAP_MUX_GROUP("foo-i2c.o", PINCTRL_STATE_DEFAULT,
1005+
PIN_MAP_MUX_GROUP("foo-i2c.0", PINCTRL_STATE_DEFAULT,
10061006
"pinctrl-foo", NULL, "i2c0"),
10071007
};
10081008

0 commit comments

Comments
 (0)