History

Merge tag 'platform-drivers-x86-v4.17-2' of git://git.infradead.org/linux-platform-drivers-x86

Pull x86 platform driver fixes from Darren Hart: - We missed a case in the Dell config dependencies resulting in a possible bad configuration, resolve it by giving up on trying to keep DELL_LAPTOP visible in the menu and make it depend on DELL_SMBIOS. - Fix a null pointer dereference at module unload for the asus-wireless driver. * tag 'platform-drivers-x86-v4.17-2' of git://git.infradead.org/linux-platform-drivers-x86: platform/x86: Kconfig: Fix dell-laptop dependency chain. platform/x86: asus-wireless: Fix NULL pointer dereference

Linus Torvalds committed 8 years ago

Commit ee946c32 parents 8e95cb3 7fe3fa32 files · +4 −2Browse files

Unified · Split

2 files
  1. drivers/platform/x86/Kconfig +1 −1
  2. drivers/platform/x86/asus-wireless.c +3 −1
drivers/platform/x86/Kconfig+1−1
@@ -154,7 +154,7 @@ config DELL_LAPTOP · 153 unmodified lines
154154 depends on ACPI_VIDEO || ACPI_VIDEO = n
155155 depends on RFKILL || RFKILL = n
156156 depends on SERIO_I8042
157− select DELL_SMBIOS
157+ depends on DELL_SMBIOS
158158 select POWER_SUPPLY
159159 select LEDS_CLASS
160160 select NEW_LEDS
drivers/platform/x86/asus-wireless.c+3−1
@@ -178,8 +178,10 @@ static int asus_wireless_remove(struct acpi_device *adev) · 177 unmodified lines
178178 {
179179 struct asus_wireless_data *data = acpi_driver_data(adev);
180180
181− if (data->wq)
181+ if (data->wq) {
182+ devm_led_classdev_unregister(&adev->dev, &data->led);
182183 destroy_workqueue(data->wq);
184+ }
183185 return 0;
184186 }
185187

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t