* [libgpiod][PATCH] treewide: fix spelling of "immediately".
@ 2024-03-25 11:17 Kent Gibson
2024-03-25 13:27 ` Bartosz Golaszewski
0 siblings, 1 reply; 2+ messages in thread
From: Kent Gibson @ 2024-03-25 11:17 UTC (permalink / raw)
To: linux-gpio, brgl; +Cc: Kent Gibson
"immediately" is incorrectly spelled "immediatelly" in several places, so
replace with correct spelling.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
bindings/cxx/gpiodcxx/chip.hpp | 2 +-
bindings/cxx/gpiodcxx/line-request.hpp | 2 +-
include/gpiod.h | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/bindings/cxx/gpiodcxx/chip.hpp b/bindings/cxx/gpiodcxx/chip.hpp
index e8b3c0f..297db3d 100644
--- a/bindings/cxx/gpiodcxx/chip.hpp
+++ b/bindings/cxx/gpiodcxx/chip.hpp
@@ -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
diff --git a/bindings/cxx/gpiodcxx/line-request.hpp b/bindings/cxx/gpiodcxx/line-request.hpp
index 8c1b474..0a47a76 100644
--- a/bindings/cxx/gpiodcxx/line-request.hpp
+++ b/bindings/cxx/gpiodcxx/line-request.hpp
@@ -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
diff --git a/include/gpiod.h b/include/gpiod.h
index d86c6ac..cacf97a 100644
--- a/include/gpiod.h
+++ b/include/gpiod.h
@@ -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
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [libgpiod][PATCH] treewide: fix spelling of "immediately".
2024-03-25 11:17 [libgpiod][PATCH] treewide: fix spelling of "immediately" Kent Gibson
@ 2024-03-25 13:27 ` Bartosz Golaszewski
0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2024-03-25 13:27 UTC (permalink / raw)
To: Kent Gibson; +Cc: linux-gpio
On Mon, Mar 25, 2024 at 12:17 PM Kent Gibson <warthog618@gmail.com> wrote:
>
> "immediately" is incorrectly spelled "immediatelly" in several places, so
> replace with correct spelling.
>
> Signed-off-by: Kent Gibson <warthog618@gmail.com>
> ---
Makes sense, applied!
Bart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-25 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 11:17 [libgpiod][PATCH] treewide: fix spelling of "immediately" Kent Gibson
2024-03-25 13:27 ` Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox