Skip to content

Commit 7a9d74e

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPICA: include/acpi/acpixf.h: Fix indentation
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 7dfb216 commit 7a9d74e

File tree

1 file changed

+60
-60
lines changed

1 file changed

+60
-60
lines changed

include/acpi/acpixf.h

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -589,82 +589,82 @@ ACPI_EXTERNAL_RETURN_STATUS(acpi_status
589589
acpi_install_initialization_handler
590590
(acpi_init_handler handler, u32 function))
591591
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
592-
acpi_install_sci_handler(acpi_sci_handler
593-
address,
594-
void *context))
595-
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
596-
acpi_remove_sci_handler(acpi_sci_handler
597-
address))
592+
acpi_install_sci_handler(acpi_sci_handler
593+
address,
594+
void *context))
598595
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
599-
acpi_install_global_event_handler
600-
(acpi_gbl_event_handler handler,
601-
void *context))
596+
acpi_remove_sci_handler(acpi_sci_handler
597+
address))
602598
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
603-
acpi_install_fixed_event_handler(u32
604-
acpi_event,
605-
acpi_event_handler
606-
handler,
607-
void
608-
*context))
599+
acpi_install_global_event_handler
600+
(acpi_gbl_event_handler handler,
601+
void *context))
609602
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
610-
acpi_remove_fixed_event_handler(u32 acpi_event,
603+
acpi_install_fixed_event_handler(u32
604+
acpi_event,
611605
acpi_event_handler
612-
handler))
613-
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
614-
acpi_install_gpe_handler(acpi_handle
615-
gpe_device,
616-
u32 gpe_number,
617-
u32 type,
618-
acpi_gpe_handler
619-
address,
620-
void *context))
606+
handler,
607+
void
608+
*context))
621609
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
622-
acpi_install_gpe_raw_handler(acpi_handle
623-
gpe_device,
624-
u32 gpe_number,
625-
u32 type,
626-
acpi_gpe_handler
627-
address,
628-
void *context))
610+
acpi_remove_fixed_event_handler(u32 acpi_event,
611+
acpi_event_handler
612+
handler))
629613
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
630-
acpi_remove_gpe_handler(acpi_handle gpe_device,
614+
acpi_install_gpe_handler(acpi_handle
615+
gpe_device,
631616
u32 gpe_number,
617+
u32 type,
632618
acpi_gpe_handler
633-
address))
634-
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
635-
acpi_install_notify_handler(acpi_handle device,
636-
u32 handler_type,
637-
acpi_notify_handler
638-
handler,
619+
address,
639620
void *context))
621+
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
622+
acpi_install_gpe_raw_handler(acpi_handle
623+
gpe_device,
624+
u32 gpe_number,
625+
u32 type,
626+
acpi_gpe_handler
627+
address,
628+
void *context))
629+
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
630+
acpi_remove_gpe_handler(acpi_handle gpe_device,
631+
u32 gpe_number,
632+
acpi_gpe_handler
633+
address))
640634
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
641-
acpi_remove_notify_handler(acpi_handle device,
635+
acpi_install_notify_handler(acpi_handle device,
642636
u32 handler_type,
643637
acpi_notify_handler
644-
handler))
645-
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
646-
acpi_install_address_space_handler(acpi_handle
647-
device,
648-
acpi_adr_space_type
649-
space_id,
650-
acpi_adr_space_handler
651-
handler,
652-
acpi_adr_space_setup
653-
setup,
654-
void *context))
655-
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
656-
acpi_remove_address_space_handler(acpi_handle
638+
handler,
639+
void *context))
640+
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
641+
acpi_remove_notify_handler(acpi_handle device,
642+
u32 handler_type,
643+
acpi_notify_handler
644+
handler))
645+
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
646+
acpi_install_address_space_handler(acpi_handle
657647
device,
658648
acpi_adr_space_type
659649
space_id,
660650
acpi_adr_space_handler
661-
handler))
662-
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
663-
acpi_install_exception_handler
664-
(acpi_exception_handler handler))
665-
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
666-
acpi_install_interface_handler
667-
(acpi_interface_handler handler))
651+
handler,
652+
acpi_adr_space_setup
653+
setup,
654+
void *context))
655+
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
656+
acpi_remove_address_space_handler(acpi_handle
657+
device,
658+
acpi_adr_space_type
659+
space_id,
660+
acpi_adr_space_handler
661+
handler))
662+
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
663+
acpi_install_exception_handler
664+
(acpi_exception_handler handler))
665+
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
666+
acpi_install_interface_handler
667+
(acpi_interface_handler handler))
668668

669669
/*
670670
* Global Lock interfaces

0 commit comments

Comments
 (0)