]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DevicePathDxe/DevicePath.c
MdeModulePkg: Apply uncrustify changes
[mirror_edk2.git] / MdeModulePkg / Universal / DevicePathDxe / DevicePath.c
index cba21498761145af013a59b9cb6f562a8683d617..1fcfef600acf202b6868f867eff05da66c6018fa 100644 (file)
@@ -16,7 +16,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #include <Library/DevicePathLib.h>\r
 #include <Library/PcdLib.h>\r
 \r
-GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_UTILITIES_PROTOCOL mDevicePathUtilities = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_UTILITIES_PROTOCOL  mDevicePathUtilities = {\r
   GetDevicePathSize,\r
   DuplicateDevicePath,\r
   AppendDevicePath,\r
@@ -27,12 +27,12 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_UTILITIES_PROTOCOL mDevicePa
   CreateDeviceNode\r
 };\r
 \r
-GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_TO_TEXT_PROTOCOL   mDevicePathToText = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_TO_TEXT_PROTOCOL  mDevicePathToText = {\r
   ConvertDeviceNodeToText,\r
   ConvertDevicePathToText\r
 };\r
 \r
-GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL mDevicePathFromText = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL  mDevicePathFromText = {\r
   ConvertTextToDeviceNode,\r
   ConvertTextToDevicePath\r
 };\r
@@ -53,8 +53,8 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL mDevicePa
 EFI_STATUS\r
 EFIAPI\r
 DevicePathEntryPoint (\r
-  IN EFI_HANDLE           ImageHandle,\r
-  IN EFI_SYSTEM_TABLE     *SystemTable\r
+  IN EFI_HANDLE        ImageHandle,\r
+  IN EFI_SYSTEM_TABLE  *SystemTable\r
   )\r
 {\r
   EFI_STATUS  Status;\r
@@ -66,16 +66,21 @@ DevicePathEntryPoint (
     if (FeaturePcdGet (PcdDevicePathSupportDevicePathFromText)) {\r
       Status = gBS->InstallMultipleProtocolInterfaces (\r
                       &Handle,\r
-                      &gEfiDevicePathUtilitiesProtocolGuid, &mDevicePathUtilities,\r
-                      &gEfiDevicePathToTextProtocolGuid,    &mDevicePathToText,\r
-                      &gEfiDevicePathFromTextProtocolGuid,  &mDevicePathFromText,\r
+                      &gEfiDevicePathUtilitiesProtocolGuid,\r
+                      &mDevicePathUtilities,\r
+                      &gEfiDevicePathToTextProtocolGuid,\r
+                      &mDevicePathToText,\r
+                      &gEfiDevicePathFromTextProtocolGuid,\r
+                      &mDevicePathFromText,\r
                       NULL\r
                       );\r
     } else {\r
       Status = gBS->InstallMultipleProtocolInterfaces (\r
                       &Handle,\r
-                      &gEfiDevicePathUtilitiesProtocolGuid, &mDevicePathUtilities,\r
-                      &gEfiDevicePathToTextProtocolGuid,    &mDevicePathToText,\r
+                      &gEfiDevicePathUtilitiesProtocolGuid,\r
+                      &mDevicePathUtilities,\r
+                      &gEfiDevicePathToTextProtocolGuid,\r
+                      &mDevicePathToText,\r
                       NULL\r
                       );\r
     }\r
@@ -83,17 +88,21 @@ DevicePathEntryPoint (
     if (FeaturePcdGet (PcdDevicePathSupportDevicePathFromText)) {\r
       Status = gBS->InstallMultipleProtocolInterfaces (\r
                       &Handle,\r
-                      &gEfiDevicePathUtilitiesProtocolGuid, &mDevicePathUtilities,\r
-                      &gEfiDevicePathFromTextProtocolGuid,  &mDevicePathFromText,\r
+                      &gEfiDevicePathUtilitiesProtocolGuid,\r
+                      &mDevicePathUtilities,\r
+                      &gEfiDevicePathFromTextProtocolGuid,\r
+                      &mDevicePathFromText,\r
                       NULL\r
                       );\r
     } else {\r
       Status = gBS->InstallMultipleProtocolInterfaces (\r
                       &Handle,\r
-                      &gEfiDevicePathUtilitiesProtocolGuid, &mDevicePathUtilities,\r
+                      &gEfiDevicePathUtilitiesProtocolGuid,\r
+                      &mDevicePathUtilities,\r
                       NULL\r
                       );\r
     }\r
   }\r
+\r
   return Status;\r
 }\r