Skip to contentSkip to conversation

treewide: fix spelling of "immediately".

PATCH In review Kent Gibson 2 participants 2 messages Mar 25, 2024 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 treewide: fix spelling of "immediately".

"immediately" is incorrectly spelled "immediatelly" in several places, so replace with correct spelling.

---
 bindings/cxx/gpiodcxx/chip.hpp         | 2 +-
 bindings/cxx/gpiodcxx/line-request.hpp | 2 +-
 include/gpiod.h                        | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
bindings/cxx/gpiodcxx/chip.hpp +1 -1
index e8b3c0f..297db3d 100644
@@ -126,7 +126,7 @@ public:
 	 * @brief Wait for line status events on any of the watched lines
 	 *        exposed by this chip.
 	 * @param timeout Wait time limit in nanoseconds. If set to 0, the
-	 *                function returns immediatelly. If set to a negative
+	 *                function returns immediately. If set to a negative
 	 *                number, the function blocks indefinitely until an
 	 *                event becomes available.
 	 * @return True if at least one event is ready to be read. False if the
bindings/cxx/gpiodcxx/line-request.hpp +1 -1
index 8c1b474..0a47a76 100644
@@ -183,7 +183,7 @@ public:
 	 * @brief Wait for edge events on any of the lines requested with edge
 	 *        detection enabled.
 	 * @param timeout Wait time limit in nanoseconds. If set to 0, the
-	 *                function returns immediatelly. If set to a negative
+	 *                function returns immediately. If set to a negative
 	 *                number, the function blocks indefinitely until an
 	 *                event becomes available.
 	 * @return True if at least one event is ready to be read. False if the
include/gpiod.h +2 -2
index d86c6ac..cacf97a 100644
@@ -246,7 +246,7 @@ int gpiod_chip_get_fd(struct gpiod_chip *chip);
  *        on the chip.
  * @param chip GPIO chip object.
  * @param timeout_ns Wait time limit in nanoseconds. If set to 0, the function
- *                   returns immediatelly. If set to a negative number, the
+ *                   returns immediately. If set to a negative number, the
  *                   function blocks indefinitely until an event becomes
  *                   available.
  * @return 0 if wait timed out, -1 if an error occurred, 1 if an event is
@@ -1164,7 +1164,7 @@ int gpiod_line_request_get_fd(struct gpiod_line_request *request);
  * @brief Wait for edge events on any of the requested lines.
  * @param request GPIO line request.
  * @param timeout_ns Wait time limit in nanoseconds. If set to 0, the function
- *                   returns immediatelly. If set to a negative number, the
+ *                   returns immediately. If set to a negative number, the
  *                   function blocks indefinitely until an event becomes
  *                   available.
  * @return 0 if wait timed out, -1 if an error occurred, 1 if an event is
Signature · 1 line
2.39.2