ACPI: Remove the ops field from struct acpi_device
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Jan 2013 12:23:33 +0000 (13:23 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Jan 2013 12:23:33 +0000 (13:23 +0100)
The ops field in struct acpi_device is not used anywhere, so remove
it.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
include/acpi/acpi_bus.h

index c54ae562c4d41c2b5c9eebd1ab682618a3ad9fb6..efe5f746c5610dbc08fa9da3fa1131ed29775d82 100644 (file)
@@ -271,7 +271,6 @@ struct acpi_device {
        struct acpi_device_wakeup wakeup;
        struct acpi_device_perf performance;
        struct acpi_device_dir dir;
-       struct acpi_device_ops ops;
        struct acpi_driver *driver;
        void *driver_data;
        struct device dev;