Re: [RFC Patch v1 1/6] acpi_pad: simplify notify handler by using acpi_drv_ops->notify

2014-02-18 Thread Jiang Liu
Thanks, Rafael. I will drop this patch then. On 2014/2/18 9:06, Rafael J. Wysocki wrote: > On Monday, February 17, 2014 01:02:48 PM Jiang Liu wrote: >> Use callback acpi_drv_ops->notify to simplify acpi_pad driver's >> notification handling code. >> >> Signed-off-by: Jiang Liu > > There is a pla

Re: [RFC Patch v1 1/6] acpi_pad: simplify notify handler by using acpi_drv_ops->notify

2014-02-17 Thread Rafael J. Wysocki
On Monday, February 17, 2014 01:02:48 PM Jiang Liu wrote: > Use callback acpi_drv_ops->notify to simplify acpi_pad driver's > notification handling code. > > Signed-off-by: Jiang Liu There is a plan to move away from using struct acpi_driver objects and this change will need to be reverted then.

[RFC Patch v1 1/6] acpi_pad: simplify notify handler by using acpi_drv_ops->notify

2014-02-16 Thread Jiang Liu
Use callback acpi_drv_ops->notify to simplify acpi_pad driver's notification handling code. Signed-off-by: Jiang Liu --- drivers/acpi/acpi_pad.c | 25 + 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c inde