Message ID | 1358086602-32538-1-git-send-email-jiang.liu@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On Sunday, January 13, 2013 10:16:42 PM Jiang Liu wrote: > > With commit f2a33cde55a03 "ACPI: Drop ACPI device .bind() and .unbind() > callbacks", acpi_op_bind and acpi_op_unbind are not used any more. So > remove them. Applied to the linux-next branch of the linux-pm.git tree as v3.9 material. Please CC ACPI patches to linux-acpi@vger.kernel.org in the future, though, that makes it much easier to handle them for me. Thanks, Rafael > Signed-off-by: Jiang Liu <jiang.liu@huawei.com> > --- > include/acpi/acpi_bus.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h > index 6e9a73e..ef539eb 100644 > --- a/include/acpi/acpi_bus.h > +++ b/include/acpi/acpi_bus.h > @@ -91,8 +91,6 @@ struct acpi_device; > typedef int (*acpi_op_add) (struct acpi_device * device); > typedef int (*acpi_op_remove) (struct acpi_device * device, int type); > typedef int (*acpi_op_start) (struct acpi_device * device); > -typedef int (*acpi_op_bind) (struct acpi_device * device); > -typedef int (*acpi_op_unbind) (struct acpi_device * device); > typedef void (*acpi_op_notify) (struct acpi_device * device, u32 event); > > struct acpi_device_ops { >
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 6e9a73e..ef539eb 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -91,8 +91,6 @@ struct acpi_device; typedef int (*acpi_op_add) (struct acpi_device * device); typedef int (*acpi_op_remove) (struct acpi_device * device, int type); typedef int (*acpi_op_start) (struct acpi_device * device); -typedef int (*acpi_op_bind) (struct acpi_device * device); -typedef int (*acpi_op_unbind) (struct acpi_device * device); typedef void (*acpi_op_notify) (struct acpi_device * device, u32 event); struct acpi_device_ops {
With commit f2a33cde55a03 "ACPI: Drop ACPI device .bind() and .unbind() callbacks", acpi_op_bind and acpi_op_unbind are not used any more. So remove them. Signed-off-by: Jiang Liu <jiang.liu@huawei.com> --- include/acpi/acpi_bus.h | 2 -- 1 file changed, 2 deletions(-)