Commit ddfebb7
committed
ACPI: scan: Reduce code duplication related to fixed event devices
Move duplicate fixed event device registration code
from acpi_bus_scan_fixed() into a new function called
acpi_bus_add_fixed_device_object() and make acpi_bus_scan_fixed()
invoke that function as needed.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/1916860.atdPhlSkOF@rafael.j.wysocki1 parent ab06eb9 commit ddfebb7
1 file changed
Lines changed: 17 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2759 | 2759 | | |
2760 | 2760 | | |
2761 | 2761 | | |
2762 | | - | |
| 2762 | + | |
2763 | 2763 | | |
2764 | | - | |
2765 | | - | |
| 2764 | + | |
2766 | 2765 | | |
2767 | | - | |
2768 | | - | |
2769 | | - | |
2770 | | - | |
2771 | | - | |
2772 | | - | |
2773 | | - | |
2774 | | - | |
| 2766 | + | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
2775 | 2773 | | |
2776 | | - | |
2777 | | - | |
| 2774 | + | |
2778 | 2775 | | |
| 2776 | + | |
2779 | 2777 | | |
2780 | | - | |
2781 | | - | |
2782 | | - | |
2783 | | - | |
2784 | | - | |
2785 | | - | |
2786 | | - | |
2787 | | - | |
2788 | | - | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
2789 | 2782 | | |
2790 | | - | |
2791 | | - | |
2792 | | - | |
| 2783 | + | |
| 2784 | + | |
2793 | 2785 | | |
2794 | 2786 | | |
2795 | 2787 | | |
| |||
0 commit comments