diff options
-rw-r--r-- | drivers/acpi/video_detect.c | 8 | ||||
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 90e2d54be526..1316ddd92fac 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c | |||
@@ -135,14 +135,6 @@ static const struct dmi_system_id video_detect_dmi_table[] = { | |||
135 | DMI_MATCH(DMI_PRODUCT_NAME, "UL30A"), | 135 | DMI_MATCH(DMI_PRODUCT_NAME, "UL30A"), |
136 | }, | 136 | }, |
137 | }, | 137 | }, |
138 | { | ||
139 | .callback = video_detect_force_vendor, | ||
140 | .ident = "Dell Inspiron 5737", | ||
141 | .matches = { | ||
142 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | ||
143 | DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 5737"), | ||
144 | }, | ||
145 | }, | ||
146 | 138 | ||
147 | /* | 139 | /* |
148 | * These models have a working acpi_video backlight control, and using | 140 | * These models have a working acpi_video backlight control, and using |
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index 5f2fda12e006..fa49f9143b80 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c | |||
@@ -953,8 +953,10 @@ int acpiphp_enable_slot(struct acpiphp_slot *slot) | |||
953 | { | 953 | { |
954 | pci_lock_rescan_remove(); | 954 | pci_lock_rescan_remove(); |
955 | 955 | ||
956 | if (slot->flags & SLOT_IS_GOING_AWAY) | 956 | if (slot->flags & SLOT_IS_GOING_AWAY) { |
957 | pci_unlock_rescan_remove(); | ||
957 | return -ENODEV; | 958 | return -ENODEV; |
959 | } | ||
958 | 960 | ||
959 | /* configure all functions */ | 961 | /* configure all functions */ |
960 | if (!(slot->flags & SLOT_ENABLED)) | 962 | if (!(slot->flags & SLOT_ENABLED)) |