summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-06-18 13:23:11 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-06-30 14:11:21 +0200
commitd6fb6ee1820cb9c49717b8d28c5b2e940cb2e439 (patch)
tree605b6eeadd3c50a5b369e262f4ef062457458b11 /include/acpi
parente5ed878ddb7cd95cd7886a0298fcb080eeab5e90 (diff)
downloadlwn-d6fb6ee1820cb9c49717b8d28c5b2e940cb2e439.tar.gz
lwn-d6fb6ee1820cb9c49717b8d28c5b2e940cb2e439.zip
ACPI: bus: Drop driver member of struct acpi_device
struct acpi_device::driver tracks the same information as the driver member of struct acpi_device::dev. Fix all users of the former to use the latter and drop the redundant data from struct acpi_device. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpi_bus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 54c5566df9fe..ab239a35cb2a 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -379,7 +379,6 @@ struct acpi_device {
struct acpi_device_data data;
struct acpi_scan_handler *handler;
struct acpi_hotplug_context *hp;
- struct acpi_driver *driver;
const struct acpi_gpio_mapping *driver_gpios;
void *driver_data;
struct device dev;