浏览代码

ACPI: button: Remove unneeded acpi_handle from driver.

Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Patrick Mochel 19 年之前
父节点
当前提交
6c68953772
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/acpi/button.c

+ 0 - 2
drivers/acpi/button.c

@@ -82,7 +82,6 @@ static struct acpi_driver acpi_button_driver = {
 };
 };
 
 
 struct acpi_button {
 struct acpi_button {
-	acpi_handle handle;
 	struct acpi_device *device;	/* Fixed button kludge */
 	struct acpi_device *device;	/* Fixed button kludge */
 	u8 type;
 	u8 type;
 	unsigned long pushed;
 	unsigned long pushed;
@@ -303,7 +302,6 @@ static int acpi_button_add(struct acpi_device *device)
 	memset(button, 0, sizeof(struct acpi_button));
 	memset(button, 0, sizeof(struct acpi_button));
 
 
 	button->device = device;
 	button->device = device;
-	button->handle = device->handle;
 	acpi_driver_data(device) = button;
 	acpi_driver_data(device) = button;
 
 
 	/*
 	/*