Fix typo in the code and documentation

Change-Id: I4fa01e4790ba3a50d8a59a5a85e6781bd8f539d1
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/code_update_utils.py b/lib/code_update_utils.py
index 35f9e85..35953c7 100644
--- a/lib/code_update_utils.py
+++ b/lib/code_update_utils.py
@@ -29,7 +29,7 @@
 
     Description of argument(s):
     image_type                     This value is either BMC update or Host update type.
-    sw_dict                        This contain dictionay of firmware inventory properties.
+    sw_dict                        This contain dictionary of firmware inventory properties.
     """
 
     temp_dict = collections.OrderedDict()
diff --git a/lib/common_utils.robot b/lib/common_utils.robot
index daaf139..e9bbfaa 100755
--- a/lib/common_utils.robot
+++ b/lib/common_utils.robot
@@ -712,7 +712,7 @@
 Configure Initial Settings
     [Documentation]  Restore old IP and route.
     ...  This keyword requires initial settings viz IP address,
-    ...  Network Mask, default gatway and serial console IP and port
+    ...  Network Mask, default gateway and serial console IP and port
     ...  information which should be provided in command line.
 
     [Arguments]  ${host}=${OPENBMC_HOST}  ${mask}=${NET_MASK}
diff --git a/lib/connection_client.robot b/lib/connection_client.robot
index 6efb1b4..543879d 100755
--- a/lib/connection_client.robot
+++ b/lib/connection_client.robot
@@ -21,7 +21,7 @@
     #                   keyword. This includes, but is not limited to, the
     #                   following:
     #                   host, alias, port, timeout, newline, prompt, term_type,
-    #                   width, height, path_separator, endcoding
+    #                   width, height, path_separator, encoding
     #                   (For more information, please visit the SSHLibrary doc)
 
     #                   Of the above arguments to Open Connection, this keyword
diff --git a/lib/redfish_code_update_utils.robot b/lib/redfish_code_update_utils.robot
index c182897..7f82c1f 100644
--- a/lib/redfish_code_update_utils.robot
+++ b/lib/redfish_code_update_utils.robot
@@ -127,11 +127,11 @@
 
 
 Get Non Functional Firmware
-    [Documentation]  Get BMC non functional fimware details.
+    [Documentation]  Get BMC non functional firmware details.
     [Arguments]  ${sw_inv}  ${functional_state}
 
     # Description of argument(s):
-    # sw_inv            This dictionay contains all the BMC fimware details.
+    # sw_inv            This dictionary contains all the BMC firmware details.
     # functional_state  Functional state can be either True or False.
 
     ${resp}=  Filter Struct  ${sw_inv}  [('functional', ${functional_state})]
diff --git a/lib/utils.robot b/lib/utils.robot
index 63464a3..61497fc 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -69,7 +69,7 @@
     # max_timeout   Maximum time to wait.
     #               This should be expressed in Robot Framework's time format
     #               (e.g. "10 minutes").
-    # interfal      Interval to wait between status checks.
+    # interval      Interval to wait between status checks.
     #               This should be expressed in Robot Framework's time format
     #               (e.g. "5 seconds").