MdeModulePkg/Bus/I2c: Fix few typos

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>
This commit is contained in:
Antoine Coeur 2020-02-07 02:07:25 +01:00 committed by mergify[bot]
parent 8c39253dff
commit 29f7ad8b7c
3 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -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