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: I845fdecb1a9c2fb8012f8a1abfd56d8e2d06f5f4
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/peci.c b/peci.c
index 11434ac..6631770 100644
--- a/peci.c
+++ b/peci.c
@@ -33,7 +33,7 @@
 char* peci_device_list[2];
 #define DEV_NAME_SIZE 64
 /*-------------------------------------------------------------------------
- * This funcion sets the name of the PECI device file to use.
+ * This function sets the name of the PECI device file to use.
  * If the PECI device name is null try "/dev/peci-default",
  * if "/dev/peci-default" does not exist, fall back to "/dev/peci-0"
  *------------------------------------------------------------------------*/