diff mbox

ACPI: remove unused acpi_op_bind and acpi_op_unbind

Message ID 1358086602-32538-1-git-send-email-jiang.liu@huawei.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Jiang Liu Jan. 13, 2013, 2:16 p.m. UTC
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(-)

Comments

Rafael Wysocki Jan. 14, 2013, 1:03 p.m. UTC | #1
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 mbox

Patch

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 {