Re: [PATCH] ACPI: remove unused acpi_op_bind and acpi_op_unbind

From: Rafael J. Wysocki
Date: Mon Jan 14 2013 - 07:57:44 EST


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@xxxxxxxxxxxxxxx in the future, though,
that makes it much easier to handle them for me.

Thanks,
Rafael


> Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxx>
> ---
> 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 {
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/