diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-01-24 08:46:59 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-01-24 08:46:59 +0000 |
commit | cc7f6cf32f614d647bde259d959d29abdc4e4e04 (patch) | |
tree | bac05ec446c94785a0766eddb38110ee94c538fc /MdeModulePkg/Universal | |
parent | 03ecb5769b20138fbf2aa7f570738bb3b87d60e9 (diff) | |
download | edk2-platforms-cc7f6cf32f614d647bde259d959d29abdc4e4e04.tar.xz |
Refine code to follow coding style.
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14080 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c b/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c index 7c47b5fd39..3ae55de2b0 100644 --- a/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c +++ b/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c @@ -1797,14 +1797,14 @@ DriverSampleInit ( MY_EFI_VARSTORE_DATA *VarStoreConfig;
EFI_INPUT_KEY HotKey;
EFI_FORM_BROWSER_EXTENSION_PROTOCOL *FormBrowserEx;
- EFI_DEVICE_PATH_TO_TEXT_PROTOCOL *pToText;
+ EFI_DEVICE_PATH_TO_TEXT_PROTOCOL *PathToText;
//
// Initialize the local variables.
//
ConfigRequestHdr = NULL;
NewString = NULL;
- pToText = NULL;
+ PathToText = NULL;
//
// Initialize screen dimensions for SendForm().
@@ -1925,14 +1925,14 @@ DriverSampleInit ( Status = gBS->LocateProtocol (
&gEfiDevicePathToTextProtocolGuid,
NULL,
- (VOID **) &pToText
+ (VOID **) &PathToText
);
ASSERT_EFI_ERROR (Status);
//
// Update the device path string.
//
- NewString = pToText->ConvertDevicePathToText((EFI_DEVICE_PATH_PROTOCOL*)&mHiiVendorDevicePath0, FALSE, FALSE);
+ NewString = PathToText->ConvertDevicePathToText((EFI_DEVICE_PATH_PROTOCOL*)&mHiiVendorDevicePath0, FALSE, FALSE);
if (HiiSetString (HiiHandle[0], STRING_TOKEN (STR_DEVICE_PATH), NewString, NULL) == 0) {
DriverSampleUnload (ImageHandle);
return EFI_OUT_OF_RESOURCES;
|