MdeModulePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdeModulePkg 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:
committed by
mergify[bot]
parent
7c7184e201
commit
1436aea4d5
@ -10,14 +10,14 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#include <PiDxe.h>
|
||||
#include <Library/UefiLib.h>
|
||||
|
||||
extern EFI_COMPONENT_NAME_PROTOCOL mGraphicsOutputComponentName;
|
||||
extern EFI_COMPONENT_NAME2_PROTOCOL mGraphicsOutputComponentName2;
|
||||
extern EFI_COMPONENT_NAME_PROTOCOL mGraphicsOutputComponentName;
|
||||
extern EFI_COMPONENT_NAME2_PROTOCOL mGraphicsOutputComponentName2;
|
||||
|
||||
//
|
||||
// Driver name table for GraphicsOutput module.
|
||||
// It is shared by the implementation of ComponentName & ComponentName2 Protocol.
|
||||
//
|
||||
GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mGraphicsOutputDriverNameTable[] = {
|
||||
GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mGraphicsOutputDriverNameTable[] = {
|
||||
{
|
||||
"eng;en",
|
||||
L"Generic Graphics Output Driver"
|
||||
@ -80,7 +80,7 @@ GraphicsOutputComponentNameGetDriverName (
|
||||
This->SupportedLanguages,
|
||||
mGraphicsOutputDriverNameTable,
|
||||
DriverName,
|
||||
(BOOLEAN) (This == &mGraphicsOutputComponentName)
|
||||
(BOOLEAN)(This == &mGraphicsOutputComponentName)
|
||||
);
|
||||
}
|
||||
|
||||
@ -155,11 +155,11 @@ GraphicsOutputComponentNameGetDriverName (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
GraphicsOutputComponentNameGetControllerName (
|
||||
IN EFI_COMPONENT_NAME_PROTOCOL *This,
|
||||
IN EFI_HANDLE ControllerHandle,
|
||||
IN EFI_HANDLE ChildHandle OPTIONAL,
|
||||
IN CHAR8 *Language,
|
||||
OUT CHAR16 **ControllerName
|
||||
IN EFI_COMPONENT_NAME_PROTOCOL *This,
|
||||
IN EFI_HANDLE ControllerHandle,
|
||||
IN EFI_HANDLE ChildHandle OPTIONAL,
|
||||
IN CHAR8 *Language,
|
||||
OUT CHAR16 **ControllerName
|
||||
)
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
@ -177,8 +177,8 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL mGraphicsOutputCompon
|
||||
//
|
||||
// EFI Component Name 2 Protocol
|
||||
//
|
||||
GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL mGraphicsOutputComponentName2 = {
|
||||
(EFI_COMPONENT_NAME2_GET_DRIVER_NAME) GraphicsOutputComponentNameGetDriverName,
|
||||
(EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) GraphicsOutputComponentNameGetControllerName,
|
||||
GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL mGraphicsOutputComponentName2 = {
|
||||
(EFI_COMPONENT_NAME2_GET_DRIVER_NAME)GraphicsOutputComponentNameGetDriverName,
|
||||
(EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME)GraphicsOutputComponentNameGetControllerName,
|
||||
"en"
|
||||
};
|
||||
|
Reference in New Issue
Block a user