MdePkg: Apply uncrustify changes

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the MdePkg package

Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Michael Kubacki
2021-12-05 14:54:05 -08:00
committed by mergify[bot]
parent 1436aea4d5
commit 2f88bd3a12
975 changed files with 55681 additions and 57790 deletions

View File

@@ -9,7 +9,6 @@
**/
#include <Base.h>
#include <Library/DebugLib.h>
@@ -36,18 +35,18 @@
**/
VOID
InternalSaveSmBusExecToBootScript (
IN EFI_SMBUS_OPERATION SmbusOperation,
IN UINTN SmBusAddress,
IN UINTN Length,
IN OUT VOID *Buffer
IN EFI_SMBUS_OPERATION SmbusOperation,
IN UINTN SmBusAddress,
IN UINTN Length,
IN OUT VOID *Buffer
)
{
RETURN_STATUS Status;
RETURN_STATUS Status;
Status = S3BootScriptSaveSmbusExecute (
SmBusAddress,
SmbusOperation,
&Length,
&Length,
Buffer
);
ASSERT (Status == RETURN_SUCCESS);
@@ -74,8 +73,8 @@ InternalSaveSmBusExecToBootScript (
VOID
EFIAPI
S3SmBusQuickRead (
IN UINTN SmBusAddress,
OUT RETURN_STATUS *Status OPTIONAL
IN UINTN SmBusAddress,
OUT RETURN_STATUS *Status OPTIONAL
)
{
SmBusQuickRead (SmBusAddress, Status);
@@ -104,8 +103,8 @@ S3SmBusQuickRead (
VOID
EFIAPI
S3SmBusQuickWrite (
IN UINTN SmBusAddress,
OUT RETURN_STATUS *Status OPTIONAL
IN UINTN SmBusAddress,
OUT RETURN_STATUS *Status OPTIONAL
)
{
SmBusQuickWrite (SmBusAddress, Status);
@@ -140,7 +139,7 @@ S3SmBusReceiveByte (
OUT RETURN_STATUS *Status OPTIONAL
)
{
UINT8 Byte;
UINT8 Byte;
Byte = SmBusReceiveByte (SmBusAddress, Status);
@@ -178,7 +177,7 @@ S3SmBusSendByte (
OUT RETURN_STATUS *Status OPTIONAL
)
{
UINT8 Byte;
UINT8 Byte;
Byte = SmBusSendByte (SmBusAddress, Value, Status);
@@ -213,7 +212,7 @@ S3SmBusReadDataByte (
OUT RETURN_STATUS *Status OPTIONAL
)
{
UINT8 Byte;
UINT8 Byte;
Byte = SmBusReadDataByte (SmBusAddress, Status);
@@ -251,7 +250,7 @@ S3SmBusWriteDataByte (
OUT RETURN_STATUS *Status OPTIONAL
)
{
UINT8 Byte;
UINT8 Byte;
Byte = SmBusWriteDataByte (SmBusAddress, Value, Status);
@@ -403,7 +402,7 @@ S3SmBusReadBlock (
OUT RETURN_STATUS *Status OPTIONAL
)
{
UINTN Length;
UINTN Length;
Length = SmBusReadBlock (SmBusAddress, Buffer, Status);
@@ -485,7 +484,7 @@ S3SmBusBlockProcessCall (
OUT RETURN_STATUS *Status OPTIONAL
)
{
UINTN Length;
UINTN Length;
Length = SmBusBlockProcessCall (SmBusAddress, WriteBuffer, ReadBuffer, Status);