ACPI: video: Remove unneeded acpi_handle from driver.
authorPatrick Mochel <mochel@linux.intel.com>
Fri, 19 May 2006 20:54:52 +0000 (16:54 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 30 Jun 2006 06:51:39 +0000 (02:51 -0400)
Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c

index 862cefaff60229e939d2f37050bc3767d82e9420..7459ca52c1a829cae548828fb083636a573e179f 100644 (file)
@@ -117,7 +117,6 @@ struct acpi_video_enumerated_device {
 };
 
 struct acpi_video_bus {
-       acpi_handle handle;
        struct acpi_device *device;
        u8 dos_setting;
        struct acpi_video_enumerated_device *attached_array;
@@ -156,7 +155,6 @@ struct acpi_video_device_brightness {
 };
 
 struct acpi_video_device {
-       acpi_handle handle;
        unsigned long device_id;
        struct acpi_video_device_flags flags;
        struct acpi_video_device_cap cap;
@@ -1271,7 +1269,6 @@ acpi_video_bus_get_one_device(struct acpi_device *device,
 
                memset(data, 0, sizeof(struct acpi_video_device));
 
-               data->handle = device->handle;
                strcpy(acpi_device_name(device), ACPI_VIDEO_DEVICE_NAME);
                strcpy(acpi_device_class(device), ACPI_VIDEO_CLASS);
                acpi_driver_data(device) = data;
@@ -1704,7 +1701,6 @@ static int acpi_video_bus_add(struct acpi_device *device)
                return -ENOMEM;
        memset(video, 0, sizeof(struct acpi_video_bus));
 
-       video->handle = device->handle;
        video->device = device;
        strcpy(acpi_device_name(device), ACPI_VIDEO_BUS_NAME);
        strcpy(acpi_device_class(device), ACPI_VIDEO_CLASS);