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: Ib72ad9234220f72a4acbdbb46ab32045d94f0948
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/mainloop.cpp b/mainloop.cpp
index 52c3c64..d5e0369 100644
--- a/mainloop.cpp
+++ b/mainloop.cpp
@@ -191,11 +191,12 @@
/**
* Reads the environment parameters of a sensor and creates an object with
- * atleast the `Value` interface, otherwise returns without creating the object.
- * If the `Value` interface is successfully created, by reading the sensor's
- * corresponding sysfs file's value, the additional interfaces for the sensor
- * are created and the InterfacesAdded signal is emitted. The object's state
- * data is then returned for sensor state monitoring within the main loop.
+ * at least the `Value` interface, otherwise returns without creating the
+ * object. If the `Value` interface is successfully created, by reading the
+ * sensor's corresponding sysfs file's value, the additional interfaces for
+ * the sensor are created and the InterfacesAdded signal is emitted. The
+ * object's state data is then returned for sensor state monitoring within
+ * the main loop.
*/
std::optional<ObjectStateData>
MainLoop::getObject(SensorSet::container_t::const_reference sensor)
diff --git a/sensor.hpp b/sensor.hpp
index 9963ed8..9d426cb 100644
--- a/sensor.hpp
+++ b/sensor.hpp
@@ -55,7 +55,7 @@
/**
* @brief Constructs Sensor object
*
- * @param[in] sensor - A pair of sensor indentifiers
+ * @param[in] sensor - A pair of sensor identifiers
* @param[in] ioAccess - Hwmon sysfs access
* @param[in] devPath - Device sysfs path
*/