diff options
author | Patrick Mochel <mochel@linux.intel.com> | 2006-05-19 16:54:52 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 02:51:39 -0400 |
commit | d07a8577f695c807977af003b6e75f996e01a15f (patch) | |
tree | 0add63c1c3b3f2818ddcfe6bf4b334913b058bac /drivers/acpi | |
parent | 8a4444bf5a3fd890441e6cbd5022a3c24edbe69a (diff) |
ACPI: video: Remove unneeded acpi_handle from driver.
Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/video.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 862cefaff602..7459ca52c1a8 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c | |||
@@ -117,7 +117,6 @@ struct acpi_video_enumerated_device { | |||
117 | }; | 117 | }; |
118 | 118 | ||
119 | struct acpi_video_bus { | 119 | struct acpi_video_bus { |
120 | acpi_handle handle; | ||
121 | struct acpi_device *device; | 120 | struct acpi_device *device; |
122 | u8 dos_setting; | 121 | u8 dos_setting; |
123 | struct acpi_video_enumerated_device *attached_array; | 122 | struct acpi_video_enumerated_device *attached_array; |
@@ -156,7 +155,6 @@ struct acpi_video_device_brightness { | |||
156 | }; | 155 | }; |
157 | 156 | ||
158 | struct acpi_video_device { | 157 | struct acpi_video_device { |
159 | acpi_handle handle; | ||
160 | unsigned long device_id; | 158 | unsigned long device_id; |
161 | struct acpi_video_device_flags flags; | 159 | struct acpi_video_device_flags flags; |
162 | struct acpi_video_device_cap cap; | 160 | struct acpi_video_device_cap cap; |
@@ -1271,7 +1269,6 @@ acpi_video_bus_get_one_device(struct acpi_device *device, | |||
1271 | 1269 | ||
1272 | memset(data, 0, sizeof(struct acpi_video_device)); | 1270 | memset(data, 0, sizeof(struct acpi_video_device)); |
1273 | 1271 | ||
1274 | data->handle = device->handle; | ||
1275 | strcpy(acpi_device_name(device), ACPI_VIDEO_DEVICE_NAME); | 1272 | strcpy(acpi_device_name(device), ACPI_VIDEO_DEVICE_NAME); |
1276 | strcpy(acpi_device_class(device), ACPI_VIDEO_CLASS); | 1273 | strcpy(acpi_device_class(device), ACPI_VIDEO_CLASS); |
1277 | acpi_driver_data(device) = data; | 1274 | acpi_driver_data(device) = data; |
@@ -1704,7 +1701,6 @@ static int acpi_video_bus_add(struct acpi_device *device) | |||
1704 | return -ENOMEM; | 1701 | return -ENOMEM; |
1705 | memset(video, 0, sizeof(struct acpi_video_bus)); | 1702 | memset(video, 0, sizeof(struct acpi_video_bus)); |
1706 | 1703 | ||
1707 | video->handle = device->handle; | ||
1708 | video->device = device; | 1704 | video->device = device; |
1709 | strcpy(acpi_device_name(device), ACPI_VIDEO_BUS_NAME); | 1705 | strcpy(acpi_device_name(device), ACPI_VIDEO_BUS_NAME); |
1710 | strcpy(acpi_device_class(device), ACPI_VIDEO_CLASS); | 1706 | strcpy(acpi_device_class(device), ACPI_VIDEO_CLASS); |