X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FPeiSmbusLibSmbus2Ppi%2FPeiSmbusLib.c;h=adcef6bcfa43a55c7805d3b6673a2e0287106c12;hb=2f88bd3a1296c522317f1c21377876de63de5be7;hp=06a5f67e25f63f89a3b791d6f52649fb31d6fc78;hpb=1436aea4d5707e672672a11bda72be2c63c936c3;p=mirror_edk2.git diff --git a/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.c b/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.c index 06a5f67e25..adcef6bcfa 100644 --- a/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.c +++ b/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.c @@ -23,10 +23,10 @@ InternalGetSmbusPpi ( VOID ) { - EFI_STATUS Status; - EFI_PEI_SMBUS2_PPI *SmbusPpi; + EFI_STATUS Status; + EFI_PEI_SMBUS2_PPI *SmbusPpi; - Status = PeiServicesLocatePpi (&gEfiPeiSmbus2PpiGuid, 0, NULL, (VOID **) &SmbusPpi); + Status = PeiServicesLocatePpi (&gEfiPeiSmbus2PpiGuid, 0, NULL, (VOID **)&SmbusPpi); ASSERT_EFI_ERROR (Status); ASSERT (SmbusPpi != NULL); @@ -58,18 +58,18 @@ InternalGetSmbusPpi ( **/ UINTN InternalSmBusExec ( - IN EFI_SMBUS_OPERATION SmbusOperation, - IN UINTN SmBusAddress, - IN UINTN Length, - IN OUT VOID *Buffer, - OUT RETURN_STATUS *Status OPTIONAL + IN EFI_SMBUS_OPERATION SmbusOperation, + IN UINTN SmBusAddress, + IN UINTN Length, + IN OUT VOID *Buffer, + OUT RETURN_STATUS *Status OPTIONAL ) { EFI_PEI_SMBUS2_PPI *SmbusPpi; RETURN_STATUS ReturnStatus; EFI_SMBUS_DEVICE_ADDRESS SmbusDeviceAddress; - SmbusPpi = InternalGetSmbusPpi (); + SmbusPpi = InternalGetSmbusPpi (); SmbusDeviceAddress.SmbusDeviceAddress = SMBUS_LIB_SLAVE_ADDRESS (SmBusAddress); ReturnStatus = SmbusPpi->Execute (