]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c
PcAtChipsetPkg: Apply uncrustify changes
[mirror_edk2.git] / PcAtChipsetPkg / Bus / Pci / IdeControllerDxe / ComponentName.c
index 4f08ec1598ab839989c3078f246cada5ea6832af..e5231a59146d6159a5f9232db39375e80bb2878b 100644 (file)
@@ -21,16 +21,16 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gIdeControllerCompone
 //\r
 /// EFI Component Name 2 Protocol\r
 ///\r
 //\r
 /// EFI Component Name 2 Protocol\r
 ///\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gIdeControllerComponentName2 = {\r
-  (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) IdeControllerComponentNameGetDriverName,\r
-  (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) IdeControllerComponentNameGetControllerName,\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL  gIdeControllerComponentName2 = {\r
+  (EFI_COMPONENT_NAME2_GET_DRIVER_NAME)IdeControllerComponentNameGetDriverName,\r
+  (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME)IdeControllerComponentNameGetControllerName,\r
   "en"\r
 };\r
 \r
 //\r
 /// Driver Name Strings\r
 ///\r
   "en"\r
 };\r
 \r
 //\r
 /// Driver Name Strings\r
 ///\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mIdeControllerDriverNameTable[] = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  mIdeControllerDriverNameTable[] = {\r
   {\r
     "eng;en",\r
     (CHAR16 *)L"IDE Controller Init Driver"\r
   {\r
     "eng;en",\r
     (CHAR16 *)L"IDE Controller Init Driver"\r
@@ -44,7 +44,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mIdeControllerDriverNameT
 ///\r
 /// Controller Name Strings\r
 ///\r
 ///\r
 /// Controller Name Strings\r
 ///\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mIdeControllerControllerNameTable[] = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  mIdeControllerControllerNameTable[] = {\r
   {\r
     "eng;en",\r
     (CHAR16 *)L"PCAT IDE Controller"\r
   {\r
     "eng;en",\r
     (CHAR16 *)L"PCAT IDE Controller"\r
@@ -136,14 +136,14 @@ IdeControllerComponentNameGetDriverName (
 EFI_STATUS\r
 EFIAPI\r
 IdeControllerComponentNameGetControllerName (\r
 EFI_STATUS\r
 EFIAPI\r
 IdeControllerComponentNameGetControllerName (\r
-  IN  EFI_COMPONENT_NAME_PROTOCOL                     *This,\r
-  IN  EFI_HANDLE                                      ControllerHandle,\r
-  IN  EFI_HANDLE                                      ChildHandle        OPTIONAL,\r
-  IN  CHAR8                                           *Language,\r
-  OUT CHAR16                                          **ControllerName\r
+  IN  EFI_COMPONENT_NAME_PROTOCOL  *This,\r
+  IN  EFI_HANDLE                   ControllerHandle,\r
+  IN  EFI_HANDLE                   ChildHandle        OPTIONAL,\r
+  IN  CHAR8                        *Language,\r
+  OUT CHAR16                       **ControllerName\r
   )\r
 {\r
   )\r
 {\r
-  EFI_STATUS            Status;\r
+  EFI_STATUS  Status;\r
 \r
   //\r
   // Make sure this driver is currently managing ControllHandle\r
 \r
   //\r
   // Make sure this driver is currently managing ControllHandle\r
@@ -162,10 +162,10 @@ IdeControllerComponentNameGetControllerName (
   }\r
 \r
   return LookupUnicodeString2 (\r
   }\r
 \r
   return LookupUnicodeString2 (\r
-          Language,\r
-          This->SupportedLanguages,\r
-          mIdeControllerControllerNameTable,\r
-          ControllerName,\r
-          (BOOLEAN)(This == &gIdeControllerComponentName)\r
-          );\r
+           Language,\r
+           This->SupportedLanguages,\r
+           mIdeControllerControllerNameTable,\r
+           ControllerName,\r
+           (BOOLEAN)(This == &gIdeControllerComponentName)\r
+           );\r
 }\r
 }\r