summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLib.c
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-06-27 21:06:55 +0800
committerLiming Gao <liming.gao@intel.com>2018-06-28 11:19:43 +0800
commit1c2f052de2064a0f973aa27767516dfbd90b4fbd (patch)
tree2d60b963af1e7a9a69c07036c9584cc9537c2c50 /IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLib.c
parent0a6f48249a601f88af124ae1ff6814b195b699c3 (diff)
downloadedk2-1c2f052de2064a0f973aa27767516dfbd90b4fbd.zip
edk2-1c2f052de2064a0f973aa27767516dfbd90b4fbd.tar.gz
edk2-1c2f052de2064a0f973aa27767516dfbd90b4fbd.tar.bz2
IntelFrameworkPkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLib.c')
-rw-r--r--IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLib.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLib.c b/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLib.c
index 33d9096..ae5cbb2 100644
--- a/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLib.c
+++ b/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLib.c
@@ -1,14 +1,14 @@
/** @file
Implementation of SmBusLib class library for PEI phase.
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
-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.
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+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.
**/
@@ -19,14 +19,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
This internal function retrieves Smbus PPI from PPI database.
If gEfiPeiSmbusPpiGuid can not be located, then ASSERT()
-
+
@return The pointer to Smbus PPI.
**/
EFI_PEI_SMBUS_PPI *
InternalGetSmbusPpi (
VOID
- )
+ )
{
EFI_STATUS Status;
EFI_PEI_SMBUS_PPI *SmbusPpi;
@@ -39,7 +39,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
@@ -83,7 +83,7 @@ InternalSmBusExec (
SmbusDeviceAddress,
SMBUS_LIB_COMMAND (SmBusAddress),
SmbusOperation,
- SMBUS_LIB_PEC (SmBusAddress),
+ SMBUS_LIB_PEC (SmBusAddress),
&Length,
Buffer
);