]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/Bus/I2c: Fix few typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:07:25 +0000 (02:07 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
Fix few typos in comments and documentation.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Acked-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-13-philmd@redhat.com>

MdeModulePkg/Bus/I2c/I2cDxe/I2cBus.c
MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.h
MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c

index ed33a51da252757d4f71772a0699dc566db47afe..1833c0afb81de6ba1065a6c0e46524bb083f3777 100644 (file)
@@ -538,7 +538,7 @@ I2cBusDriverSupported (
   @retval EFI_SUCCESS              The device was started.\r
   @retval EFI_DEVICE_ERROR         The device could not be started due to a device error.Currently not implemented.\r
   @retval EFI_OUT_OF_RESOURCES     The request could not be completed due to a lack of resources.\r
-  @retval Others                   The driver failded to start the device.\r
+  @retval Others                   The driver failed to start the device.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -623,7 +623,7 @@ I2cBusDriverStart (
   if ((RemainingDevicePath != NULL) && IsDevicePathEnd (RemainingDevicePath)) {\r
     //\r
     // If RemainingDevicePath is the End of Device Path Node,\r
-    // don't create any child device and return EFI_SUCESS\r
+    // don't create any child device and return EFI_SUCCESS\r
     //\r
     return EFI_SUCCESS;\r
   }\r
index 3c906e7203591398aa85702dd766207971a85584..49f1e9b17becde9f9957f13b93498aecc658f08e 100644 (file)
@@ -426,7 +426,7 @@ I2cBusDriverSupported (
   @retval EFI_SUCCESS              The device was started.\r
   @retval EFI_DEVICE_ERROR         The device could not be started due to a device error.Currently not implemented.\r
   @retval EFI_OUT_OF_RESOURCES     The request could not be completed due to a lack of resources.\r
-  @retval Others                   The driver failded to start the device.\r
+  @retval Others                   The driver failed to start the device.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -773,7 +773,7 @@ I2cHostDriverSupported (
   @retval EFI_SUCCESS              The device was started.\r
   @retval EFI_DEVICE_ERROR         The device could not be started due to a device error.Currently not implemented.\r
   @retval EFI_OUT_OF_RESOURCES     The request could not be completed due to a lack of resources.\r
-  @retval Others                   The driver failded to start the device.\r
+  @retval Others                   The driver failed to start the device.\r
 \r
 **/\r
 EFI_STATUS\r
index 79c0916946772350dfc9cc4b078f139c99153a38..95294c9c9891e6b4d28583e318909aff44805055 100644 (file)
@@ -311,7 +311,7 @@ I2cHostDriverSupported (
   @retval EFI_SUCCESS              The device was started.\r
   @retval EFI_DEVICE_ERROR         The device could not be started due to a device error.Currently not implemented.\r
   @retval EFI_OUT_OF_RESOURCES     The request could not be completed due to a lack of resources.\r
-  @retval Others                   The driver failded to start the device.\r
+  @retval Others                   The driver failed to start the device.\r
 \r
 **/\r
 EFI_STATUS\r