From: Rafael J. Wysocki Date: Tue, 15 Jan 2013 12:23:33 +0000 (+0100) Subject: ACPI: Remove the ops field from struct acpi_device X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6af9a803f4d2e4137d9f74a8fc9af4857fbda001;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ACPI: Remove the ops field from struct acpi_device The ops field in struct acpi_device is not used anywhere, so remove it. Signed-off-by: Rafael J. Wysocki Acked-by: Toshi Kani Acked-by: Yinghai Lu Acked-by: Yasuaki Ishimatsu --- diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index c54ae562c4d4..efe5f746c561 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -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;