Fix typo in the code and documentation

Change-Id: I4fa01e4790ba3a50d8a59a5a85e6781bd8f539d1
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
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})]