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: I014e7670ca4ba57f7e1b80e96c001474cf7a6676
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/static/activation_static.cpp b/static/activation_static.cpp
index d4f8329..a4cc6d1 100644
--- a/static/activation_static.cpp
+++ b/static/activation_static.cpp
@@ -156,7 +156,7 @@
// Create updateable association as this
// can be re-programmed.
parent.createUpdateableAssociation(path);
- // Create functional assocaition
+ // Create functional association
parent.updateFunctionalAssociation(versionId);
Activation::activation(Activation::Activations::Active);
diff --git a/static/item_updater_static.cpp b/static/item_updater_static.cpp
index 630e8ae..24873fd 100644
--- a/static/item_updater_static.cpp
+++ b/static/item_updater_static.cpp
@@ -162,7 +162,7 @@
{
continue;
}
- line = line.substr(pos); // Skiping "ID=xx"
+ line = line.substr(pos); // Skipping "ID=xx"
pos = line.find_first_not_of(' '); // After spaces
if (pos == std::string::npos)
@@ -359,7 +359,7 @@
void GardResetStatic::reset()
{
- // Clear gard partition
+ // Clear guard partition
utils::hiomapdSuspend(bus);
utils::pnorClear("GUARD");
diff --git a/static/item_updater_static.hpp b/static/item_updater_static.hpp
index 6fc39a0..f992994 100644
--- a/static/item_updater_static.hpp
+++ b/static/item_updater_static.hpp
@@ -19,7 +19,7 @@
protected:
/**
- * @brief GARD factory reset - clears the PNOR GARD partition.
+ * @brief GUARD factory reset - clears the PNOR GUARD partition.
*/
void reset() override;
};