RE: [PATCH 2/2] platform / ACPI: Attach/detach ACPI PM during probe/remove/shutdown

2012-11-26 Thread Zheng, Lv
It looks cleanest unless more abstractions are introduced for other power management providers. Best regards/Lv Zheng > -Original Message- > From: Rafael J. Wysocki [mailto:r...@sisk.pl] > Sent: Sunday, November 25, 2012 10:58 PM > To: LKML > Cc: Greg Kroah-Hartman; Linux PM list; ACPI D

Re: [PATCH 2/2] platform / ACPI: Attach/detach ACPI PM during probe/remove/shutdown

2012-11-25 Thread Rafael J. Wysocki
On Sunday, November 25, 2012 10:42:25 AM Greg Kroah-Hartman wrote: > On Sun, Nov 25, 2012 at 03:58:14PM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Drivers usually expect that the devices they are supposed to handle > > will be operational when their .probe() routines are

Re: [PATCH 2/2] platform / ACPI: Attach/detach ACPI PM during probe/remove/shutdown

2012-11-25 Thread Greg Kroah-Hartman
On Sun, Nov 25, 2012 at 03:58:14PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Drivers usually expect that the devices they are supposed to handle > will be operational when their .probe() routines are called, but that > need not be the case on some ACPI-based systems with ACPI-