diff options
| author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-03-24 12:55:22 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2009-03-27 18:03:38 -0400 |
| commit | 93b3e78a93a2f49415608929f9ffeb60adc8a4a8 (patch) | |
| tree | aa967f739caef2c5a8aa80ba01a20de91b7bc083 /include/acpi | |
| parent | 8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 (diff) | |
ACPI: remove unused acpi_device_ops .lock and .scan methods
No drivers use the .lock and .scan methods, and the Linux/ACPI
code doesn't even provide a way to invoke them, so remove them.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
| -rw-r--r-- | include/acpi/acpi_bus.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index e9f6574930ef..e3c5a4e81262 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
| @@ -88,13 +88,11 @@ struct acpi_device; | |||
| 88 | 88 | ||
| 89 | typedef int (*acpi_op_add) (struct acpi_device * device); | 89 | typedef int (*acpi_op_add) (struct acpi_device * device); |
| 90 | typedef int (*acpi_op_remove) (struct acpi_device * device, int type); | 90 | typedef int (*acpi_op_remove) (struct acpi_device * device, int type); |
| 91 | typedef int (*acpi_op_lock) (struct acpi_device * device, int type); | ||
| 92 | typedef int (*acpi_op_start) (struct acpi_device * device); | 91 | typedef int (*acpi_op_start) (struct acpi_device * device); |
| 93 | typedef int (*acpi_op_stop) (struct acpi_device * device, int type); | 92 | typedef int (*acpi_op_stop) (struct acpi_device * device, int type); |
| 94 | typedef int (*acpi_op_suspend) (struct acpi_device * device, | 93 | typedef int (*acpi_op_suspend) (struct acpi_device * device, |
| 95 | pm_message_t state); | 94 | pm_message_t state); |
| 96 | typedef int (*acpi_op_resume) (struct acpi_device * device); | 95 | typedef int (*acpi_op_resume) (struct acpi_device * device); |
| 97 | typedef int (*acpi_op_scan) (struct acpi_device * device); | ||
| 98 | typedef int (*acpi_op_bind) (struct acpi_device * device); | 96 | typedef int (*acpi_op_bind) (struct acpi_device * device); |
| 99 | typedef int (*acpi_op_unbind) (struct acpi_device * device); | 97 | typedef int (*acpi_op_unbind) (struct acpi_device * device); |
| 100 | typedef int (*acpi_op_shutdown) (struct acpi_device * device); | 98 | typedef int (*acpi_op_shutdown) (struct acpi_device * device); |
| @@ -117,12 +115,10 @@ struct acpi_bus_ops { | |||
| 117 | struct acpi_device_ops { | 115 | struct acpi_device_ops { |
| 118 | acpi_op_add add; | 116 | acpi_op_add add; |
| 119 | acpi_op_remove remove; | 117 | acpi_op_remove remove; |
| 120 | acpi_op_lock lock; | ||
| 121 | acpi_op_start start; | 118 | acpi_op_start start; |
| 122 | acpi_op_stop stop; | 119 | acpi_op_stop stop; |
| 123 | acpi_op_suspend suspend; | 120 | acpi_op_suspend suspend; |
| 124 | acpi_op_resume resume; | 121 | acpi_op_resume resume; |
| 125 | acpi_op_scan scan; | ||
| 126 | acpi_op_bind bind; | 122 | acpi_op_bind bind; |
| 127 | acpi_op_unbind unbind; | 123 | acpi_op_unbind unbind; |
| 128 | acpi_op_shutdown shutdown; | 124 | acpi_op_shutdown shutdown; |
