Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://github.com/codespell-project/codespell

Change-Id: I7ddcf61ed2d596171384fdb5f0fc1e2feb4240bf
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/src/gpio.cpp b/src/gpio.cpp
index 99f31e8..d58207e 100644
--- a/src/gpio.cpp
+++ b/src/gpio.cpp
@@ -262,8 +262,8 @@
         }
         devPath.clear();
 
-        // For gpio configured as ‘both’, it is an interrupt pin and trigged on
-        // both rising and falling signals
+        // For gpio configured as ‘both’, it is an interrupt pin and triggered
+        // on both rising and falling signals
         devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/edge";
 
         stream.open(devPath, std::fstream::out);