Re: [PATCH 1/30] ACPI / PCI: Make bus registration and unregistration symmetric

2013-07-17 Thread Yinghai Lu
On Wed, Jul 17, 2013 at 4:15 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since acpi_pci_slot_enumerate() and acpiphp_enumerate_slots() can get > the ACPI device handle they need from bus->bridge, it is not > necessary to pass that handle to them as an argument. > > Drop the second

[PATCH 1/30] ACPI / PCI: Make bus registration and unregistration symmetric

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since acpi_pci_slot_enumerate() and acpiphp_enumerate_slots() can get the ACPI device handle they need from bus->bridge, it is not necessary to pass that handle to them as an argument. Drop the second argument of acpi_pci_slot_enumerate() and acpiphp_enumerate_slots(), re

[RFC][PATCH 1/30] ACPI / PCI: Make bus registration and unregistration symmetric

2013-07-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since acpi_pci_slot_enumerate() and acpiphp_enumerate_slots() can get the ACPI device handle they need from bus->bridge, it is not necessary to pass that handle to them as an argument. Drop the second argument of acpi_pci_slot_enumerate() and acpiphp_enumerate_slots(), re