Re: [PATCH v2 5/9] ACPI/pci-bind: remove bind/unbind callbacks from acpi_device_ops

2012-09-17 Thread Yinghai Lu
On Mon, Sep 17, 2012 at 7:31 AM, Jiang Liu wrote: > On 09/16/2012 07:27 AM, Yinghai Lu wrote: >>> --- a/drivers/acpi/scan.c >>> +++ b/drivers/acpi/scan.c >>> @@ -1232,17 +1232,8 @@ static int acpi_bus_remove(struct acpi_device *dev, >>> int rmdevice) >>> dev->removal_type = ACPI_BUS_REMOV

Re: [PATCH v2 5/9] ACPI/pci-bind: remove bind/unbind callbacks from acpi_device_ops

2012-09-17 Thread Jiang Liu
On 09/16/2012 07:27 AM, Yinghai Lu wrote: > On Fri, Sep 14, 2012 at 8:05 PM, Jiang Liu wrote: >> From: Jiang Liu >> >> Now ACPI devices are created before/destroyed after corresponding PCI >> devices, and acpi_platform_notify/acpi_platform_notify_remove will >> update PCI<->ACPI binding relation

Re: [PATCH v2 5/9] ACPI/pci-bind: remove bind/unbind callbacks from acpi_device_ops

2012-09-17 Thread Jiang Liu
On 09/17/2012 11:03 AM, Yinghai Lu wrote: > On Sat, Sep 15, 2012 at 4:27 PM, Yinghai Lu wrote: >> On Fri, Sep 14, 2012 at 8:05 PM, Jiang Liu wrote: >>> From: Jiang Liu >>> >>> Now ACPI devices are created before/destroyed after corresponding PCI >>> devices, and acpi_platform_notify/acpi_platfo

Re: [PATCH v2 5/9] ACPI/pci-bind: remove bind/unbind callbacks from acpi_device_ops

2012-09-16 Thread Yinghai Lu
On Sat, Sep 15, 2012 at 4:27 PM, Yinghai Lu wrote: > On Fri, Sep 14, 2012 at 8:05 PM, Jiang Liu wrote: >> From: Jiang Liu >> >> Now ACPI devices are created before/destroyed after corresponding PCI >> devices, and acpi_platform_notify/acpi_platform_notify_remove will >> update PCI<->ACPI bindin

Re: [PATCH v2 5/9] ACPI/pci-bind: remove bind/unbind callbacks from acpi_device_ops

2012-09-15 Thread Yinghai Lu
On Fri, Sep 14, 2012 at 8:05 PM, Jiang Liu wrote: > From: Jiang Liu > > Now ACPI devices are created before/destroyed after corresponding PCI > devices, and acpi_platform_notify/acpi_platform_notify_remove will > update PCI<->ACPI binding relationship when creating/destroying PCI > devices, ther

Re: [PATCH v2 5/9] ACPI/pci-bind: remove bind/unbind callbacks from acpi_device_ops

2012-09-15 Thread Yinghai Lu
On Fri, Sep 14, 2012 at 8:05 PM, Jiang Liu wrote: > From: Jiang Liu > > Now ACPI devices are created before/destroyed after corresponding PCI > devices, and acpi_platform_notify/acpi_platform_notify_remove will > update PCI<->ACPI binding relationship when creating/destroying PCI > devices, ther

[PATCH v2 5/9] ACPI/pci-bind: remove bind/unbind callbacks from acpi_device_ops

2012-09-14 Thread Jiang Liu
From: Jiang Liu Now ACPI devices are created before/destroyed after corresponding PCI devices, and acpi_platform_notify/acpi_platform_notify_remove will update PCI<->ACPI binding relationship when creating/destroying PCI devices, there's no need to invoke bind/unbind callbacks from ACPI device p