OSDN Git Service

ACPICA: include/acpi/acpixf.h: Fix indentation
authorHans de Goede <hdegoede@redhat.com>
Thu, 8 Dec 2022 14:23:32 +0000 (15:23 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 Dec 2022 16:38:28 +0000 (17:38 +0100)
A bunch of the functions declared in include/acpi/acpixf.h have their
name aligned a space after the '(' of e.g. the
`ACPI_EXTERNAL_RETURN_STATUS(acpi_status` line above rather then being
directly aligned after the '('.

This breaks applying patches generated from the ACPICA upstream git,
remove the extra space before the function-names and all the arguments
to fix this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/acpixf.h

index 9e49b37..d1329d6 100644 (file)
@@ -589,82 +589,82 @@ ACPI_EXTERNAL_RETURN_STATUS(acpi_status
                            acpi_install_initialization_handler
                            (acpi_init_handler handler, u32 function))
 ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
-                                acpi_install_sci_handler(acpi_sci_handler
-                                                         address,
-                                                         void *context))
-ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
-                                acpi_remove_sci_handler(acpi_sci_handler
-                                                        address))
+                               acpi_install_sci_handler(acpi_sci_handler
+                                                        address,
+                                                        void *context))
 ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
-                                acpi_install_global_event_handler
-                                (acpi_gbl_event_handler handler,
-                                 void *context))
+                               acpi_remove_sci_handler(acpi_sci_handler
+                                                       address))
 ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
-                                acpi_install_fixed_event_handler(u32
-                                                                 acpi_event,
-                                                                 acpi_event_handler
-                                                                 handler,
-                                                                 void
-                                                                 *context))
+                               acpi_install_global_event_handler
+                               (acpi_gbl_event_handler handler,
+                                void *context))
 ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
-                                acpi_remove_fixed_event_handler(u32 acpi_event,
+                               acpi_install_fixed_event_handler(u32
+                                                                acpi_event,
                                                                 acpi_event_handler
-                                                                handler))
-ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
-                                acpi_install_gpe_handler(acpi_handle
-                                                         gpe_device,
-                                                         u32 gpe_number,
-                                                         u32 type,
-                                                         acpi_gpe_handler
-                                                         address,
-                                                         void *context))
+                                                                handler,
+                                                                void
+                                                                *context))
 ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
-                                acpi_install_gpe_raw_handler(acpi_handle
-                                                             gpe_device,
-                                                             u32 gpe_number,
-                                                             u32 type,
-                                                             acpi_gpe_handler
-                                                             address,
-                                                             void *context))
+                               acpi_remove_fixed_event_handler(u32 acpi_event,
+                                                               acpi_event_handler
+                                                               handler))
 ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
-                                acpi_remove_gpe_handler(acpi_handle gpe_device,
+                               acpi_install_gpe_handler(acpi_handle
+                                                        gpe_device,
                                                         u32 gpe_number,
+                                                        u32 type,
                                                         acpi_gpe_handler
-                                                        address))
-ACPI_EXTERNAL_RETURN_STATUS(acpi_status
-                            acpi_install_notify_handler(acpi_handle device,
-                                                        u32 handler_type,
-                                                        acpi_notify_handler
-                                                        handler,
+                                                        address,
                                                         void *context))
+ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
+                               acpi_install_gpe_raw_handler(acpi_handle
+                                                            gpe_device,
+                                                            u32 gpe_number,
+                                                            u32 type,
+                                                            acpi_gpe_handler
+                                                            address,
+                                                            void *context))
+ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
+                               acpi_remove_gpe_handler(acpi_handle gpe_device,
+                                                       u32 gpe_number,
+                                                       acpi_gpe_handler
+                                                       address))
 ACPI_EXTERNAL_RETURN_STATUS(acpi_status
-                            acpi_remove_notify_handler(acpi_handle device,
+                           acpi_install_notify_handler(acpi_handle device,
                                                        u32 handler_type,
                                                        acpi_notify_handler
-                                                       handler))
-ACPI_EXTERNAL_RETURN_STATUS(acpi_status
-                            acpi_install_address_space_handler(acpi_handle
-                                                               device,
-                                                               acpi_adr_space_type
-                                                               space_id,
-                                                               acpi_adr_space_handler
-                                                               handler,
-                                                               acpi_adr_space_setup
-                                                               setup,
-                                                               void *context))
-ACPI_EXTERNAL_RETURN_STATUS(acpi_status
-                            acpi_remove_address_space_handler(acpi_handle
+                                                       handler,
+                                                       void *context))
+ACPI_EXTERNAL_RETURN_STATUS(acpi_status
+                           acpi_remove_notify_handler(acpi_handle device,
+                                                      u32 handler_type,
+                                                      acpi_notify_handler
+                                                      handler))
+ACPI_EXTERNAL_RETURN_STATUS(acpi_status
+                           acpi_install_address_space_handler(acpi_handle
                                                               device,
                                                               acpi_adr_space_type
                                                               space_id,
                                                               acpi_adr_space_handler
-                                                              handler))
-ACPI_EXTERNAL_RETURN_STATUS(acpi_status
-                            acpi_install_exception_handler
-                            (acpi_exception_handler handler))
-ACPI_EXTERNAL_RETURN_STATUS(acpi_status
-                            acpi_install_interface_handler
-                            (acpi_interface_handler handler))
+                                                              handler,
+                                                              acpi_adr_space_setup
+                                                              setup,
+                                                              void *context))
+ACPI_EXTERNAL_RETURN_STATUS(acpi_status
+                           acpi_remove_address_space_handler(acpi_handle
+                                                             device,
+                                                             acpi_adr_space_type
+                                                             space_id,
+                                                             acpi_adr_space_handler
+                                                             handler))
+ACPI_EXTERNAL_RETURN_STATUS(acpi_status
+                           acpi_install_exception_handler
+                           (acpi_exception_handler handler))
+ACPI_EXTERNAL_RETURN_STATUS(acpi_status
+                           acpi_install_interface_handler
+                           (acpi_interface_handler handler))
 
 /*
  * Global Lock interfaces