summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorMarc Ferland <marc.ferland@sonatest.com>2024-07-09 14:39:19 -0400
committerJonathan Corbet <corbet@lwn.net>2024-07-16 11:11:14 -0600
commitf8e52fb8c2b61baf0e376db4dc3347c326feb781 (patch)
tree01d700e646297952f3685468eaa07bc5f8b8e398 /Documentation/driver-api
parente35fa1f236b3e8bec56aed0ae180eaaeb3c853eb (diff)
downloadlinux-f8e52fb8c2b61baf0e376db4dc3347c326feb781.tar.gz
linux-f8e52fb8c2b61baf0e376db4dc3347c326feb781.tar.bz2
linux-f8e52fb8c2b61baf0e376db4dc3347c326feb781.zip
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 <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
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/pin-control.rst2
1 files changed, 1 insertions, 1 deletions
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"),
};