From: Antoine Coeur <co...@gmx.fr>

Fix few typos in comments and documentation.

Cc: Jian J Wang <jian.j.w...@intel.com>
Cc: Hao A Wu <hao.a...@intel.com>
Cc: Ray Ni <ray...@intel.com>
Signed-off-by: Antoine Coeur <co...@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <phi...@redhat.com>
Signed-off-by: Philippe Mathieu-Daude <phi...@redhat.com>
---
 MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.h  | 4 ++--
 MdeModulePkg/Bus/I2c/I2cDxe/I2cBus.c  | 4 ++--
 MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.h 
b/MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.h
index 3c906e720359..49f1e9b17bec 100644
--- a/MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.h
+++ b/MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.h
@@ -426,7 +426,7 @@ I2cBusDriverSupported (
   @retval EFI_SUCCESS              The device was started.
   @retval EFI_DEVICE_ERROR         The device could not be started due to a 
device error.Currently not implemented.
   @retval EFI_OUT_OF_RESOURCES     The request could not be completed due to a 
lack of resources.
-  @retval Others                   The driver failded to start the device.
+  @retval Others                   The driver failed to start the device.
 
 **/
 EFI_STATUS
@@ -773,7 +773,7 @@ I2cHostDriverSupported (
   @retval EFI_SUCCESS              The device was started.
   @retval EFI_DEVICE_ERROR         The device could not be started due to a 
device error.Currently not implemented.
   @retval EFI_OUT_OF_RESOURCES     The request could not be completed due to a 
lack of resources.
-  @retval Others                   The driver failded to start the device.
+  @retval Others                   The driver failed to start the device.
 
 **/
 EFI_STATUS
diff --git a/MdeModulePkg/Bus/I2c/I2cDxe/I2cBus.c 
b/MdeModulePkg/Bus/I2c/I2cDxe/I2cBus.c
index ed33a51da252..1833c0afb81d 100644
--- a/MdeModulePkg/Bus/I2c/I2cDxe/I2cBus.c
+++ b/MdeModulePkg/Bus/I2c/I2cDxe/I2cBus.c
@@ -538,7 +538,7 @@ I2cBusDriverSupported (
   @retval EFI_SUCCESS              The device was started.
   @retval EFI_DEVICE_ERROR         The device could not be started due to a 
device error.Currently not implemented.
   @retval EFI_OUT_OF_RESOURCES     The request could not be completed due to a 
lack of resources.
-  @retval Others                   The driver failded to start the device.
+  @retval Others                   The driver failed to start the device.
 
 **/
 EFI_STATUS
@@ -623,7 +623,7 @@ I2cBusDriverStart (
   if ((RemainingDevicePath != NULL) && IsDevicePathEnd (RemainingDevicePath)) {
     //
     // If RemainingDevicePath is the End of Device Path Node,
-    // don't create any child device and return EFI_SUCESS
+    // don't create any child device and return EFI_SUCCESS
     //
     return EFI_SUCCESS;
   }
diff --git a/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c 
b/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c
index 79c091694677..95294c9c9891 100644
--- a/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c
+++ b/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c
@@ -311,7 +311,7 @@ I2cHostDriverSupported (
   @retval EFI_SUCCESS              The device was started.
   @retval EFI_DEVICE_ERROR         The device could not be started due to a 
device error.Currently not implemented.
   @retval EFI_OUT_OF_RESOURCES     The request could not be completed due to a 
lack of resources.
-  @retval Others                   The driver failded to start the device.
+  @retval Others                   The driver failed to start the device.
 
 **/
 EFI_STATUS
-- 
2.21.0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#52746): https://edk2.groups.io/g/devel/message/52746
Mute This Topic: https://groups.io/mt/69395714/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to