X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FPeiSmbusLibSmbus2%2FPeiSmbusLib.c;h=0821a91ec8a40819517850c4eb4fe669209090ea;hp=47ffd190084511f0ea738adc2bb4c56918a9b57b;hb=bad463843cc0ccef85901fa5f08ea498994f3c5f;hpb=dd51a993419cb90cc954aa4d9ae53fb012991d21
diff --git a/MdePkg/Library/PeiSmbusLibSmbus2/PeiSmbusLib.c b/MdePkg/Library/PeiSmbusLibSmbus2/PeiSmbusLib.c
index 47ffd19008..0821a91ec8 100644
--- a/MdePkg/Library/PeiSmbusLibSmbus2/PeiSmbusLib.c
+++ b/MdePkg/Library/PeiSmbusLibSmbus2/PeiSmbusLib.c
@@ -2,21 +2,19 @@
Implementation of SmBusLib class library for PEI phase.
Copyright (c) 2006, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: PeiSmbusLib.c
**/
-#include
-
#include "InternalSmbusLib.h"
/**
@@ -32,7 +30,7 @@ Module Name: PeiSmbusLib.c
EFI_PEI_SMBUS2_PPI *
InternalGetSmbusPpi (
EFI_PEI_SERVICES **PeiServices
- )
+ )
{
EFI_STATUS Status;
EFI_PEI_SMBUS2_PPI *SmbusPpi;
@@ -45,7 +43,7 @@ InternalGetSmbusPpi (
}
/**
- Executes an SMBus operation to an SMBus controller.
+ Executes an SMBus operation to an SMBus controller.
This function provides a standard way to execute Smbus script
as defined in the SmBus Specification. The data can either be of
@@ -88,7 +86,7 @@ InternalSmBusExec (
SmbusDeviceAddress,
SMBUS_LIB_COMMAND (SmBusAddress),
SmbusOperation,
- SMBUS_LIB_PEC (SmBusAddress),
+ SMBUS_LIB_PEC (SmBusAddress),
&Length,
Buffer
);