Skip to contentSkip to conversation

Documentation: gpio: fix typo

PATCH Applied David Lechner 2 participants 2 messages Mar 29, 2024 – Apr 2, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: gpio: fix typo

EOPNOTSUPP has two 'P's.

---
 Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst +1 -1
index 56b975801b6a..6615d6ced755 100644
@@ -81,7 +81,7 @@ Only one event clock flag, ``GPIO_V2_LINE_FLAG_EVENT_CLOCK_xxx``, may be set.
 If none are set then the event clock defaults to ``CLOCK_MONOTONIC``.
 The ``GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE`` flag requires supporting hardware
 and a kernel with ``CONFIG_HTE`` set.  Requesting HTE from a device that
-doesn't support it is an error (**EOPNOTSUP**).
+doesn't support it is an error (**EOPNOTSUPP**).
 
 The :c:type:`debounce_period_us<gpio_v2_line_attribute>` attribute may only
 be applied to lines with ``GPIO_V2_LINE_FLAG_INPUT`` set. When set, debounce
Signature · 1 line
2.43.2
#1 lore raw
Quoted 22 lines · David Lechner

EOPNOTSUPP has two 'P's.

---
 Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst +1 -2
index 56b975801b6a..6615d6ced755 100644
@@ -81,7 +81,7 @@ Only one event clock flag, ``GPIO_V2_LINE_FLAG_EVENT_CLOCK_xxx``, may be set.
 If none are set then the event clock defaults to ``CLOCK_MONOTONIC``.
 The ``GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE`` flag requires supporting hardware
 and a kernel with ``CONFIG_HTE`` set.  Requesting HTE from a device that
-doesn't support it is an error (**EOPNOTSUP**).
+doesn't support it is an error (**EOPNOTSUPP**).
 
 The :c:type:`debounce_period_us<gpio_v2_line_attribute>` attribute may only
 be applied to lines with ``GPIO_V2_LINE_FLAG_INPUT`` set. When set, debounce
--
Quoted 2 lines

2.43.2

Applied, thanks!

Bart