* [PATCH] ACPI: remove unused acpi_op_bind and acpi_op_unbind
[not found] <2326457.ZgAhayTgyl@vostro.rjw.lan>
@ 2013-01-13 14:16 ` Jiang Liu
2013-01-14 13:03 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Jiang Liu @ 2013-01-13 14:16 UTC (permalink / raw)
To: Rafael J . Wysocki
Cc: Jiang Liu, Toshi Kani, Bjorn Helgaas, LKML, linux-pci, Yinghai Lu,
Myron Stowe, Yijing Wang, Jiang Liu
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(-)
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 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ACPI: remove unused acpi_op_bind and acpi_op_unbind
2013-01-13 14:16 ` [PATCH] ACPI: remove unused acpi_op_bind and acpi_op_unbind Jiang Liu
@ 2013-01-14 13:03 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2013-01-14 13:03 UTC (permalink / raw)
To: Jiang Liu
Cc: Rafael J . Wysocki, Jiang Liu, Toshi Kani, Bjorn Helgaas, LKML,
linux-pci, Yinghai Lu, Myron Stowe, Yijing Wang
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 {
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-14 12:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <2326457.ZgAhayTgyl@vostro.rjw.lan>
2013-01-13 14:16 ` [PATCH] ACPI: remove unused acpi_op_bind and acpi_op_unbind Jiang Liu
2013-01-14 13:03 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).