From: Marc Ferland Date: Tue, 9 Jul 2024 18:39:19 +0000 (-0400) Subject: docs/pinctrl: fix typo in mapping example X-Git-Tag: v6.11-rc1~124^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8e52fb8c2b61baf0e376db4dc3347c326feb781;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Jonathan Corbet Link: https://lore.kernel.org/r/20240709183919.3337131-1-marc.ferland@sonatest.com --- diff --git a/Documentation/driver-api/pin-control.rst b/Documentation/driver-api/pin-control.rst index 4639912dc9cc7..27ea1236307e8 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"), };