diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-10 16:16:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-10 16:16:37 -0400 |
commit | dbbdf54c7206bf3f201f9ddaa5f4dd87835271cc (patch) | |
tree | 941dbf0dada73344acdfe891ec1d50a01316566d /drivers/platform/x86/asus-wmi.c | |
parent | 45ba8d5d061b13494c2a7a7652d51b9da3d9e77a (diff) | |
parent | 9c22cc020db637850ba47a14a598d09f706f19ad (diff) |
Merge tag 'platform-drivers-x86-v5.1-1' of git://git.infradead.org/linux-platform-drivers-x86
Pull x86 platform driver updates from Darren Hart:
- use MODULE_DEVICE_TABLE across several wmi drivers, keeping
wmi_device_id and MODULE_ALIAS() declarations in sync
- add several Ideapad models to the no_hw_rfkill list
- add support for new Mellanox platforms, including new fan and LED
functionality
- address Dell keyboard backlight change event and power button release
issues
- update dell_rbu to use appropriate memory allocation mechanisms
- several small fixes and Ice Lake support for intel_pmc_core
- fix a suspend regression for Cherry Trail based devices in
intel_int0002_vgpio
- a few other routine fixes
* tag 'platform-drivers-x86-v5.1-1' of git://git.infradead.org/linux-platform-drivers-x86: (50 commits)
MAINTAINERS: Include mlxreg.h in Mellanox Platform Driver files
platform/x86: ideapad-laptop: Add S130-14IGM to no_hw_rfkill list
platform/x86: mlx-platform: Fix access mode for fan_dir attribute
platform/x86: mlx-platform: Add UID LED for the next generation systems
platform/x86: mlx-platform: Add extra CPLD for next generation systems
platform/x86: wmi-bmof: use MODULE_DEVICE_TABLE() instead of MODULE_ALIAS()
platform/x86: intel-wmi-thunderbolt: use MODULE_DEVICE_TABLE() instead of MODULE_ALIAS()
platform/x86: huawei-wmi: use MODULE_DEVICE_TABLE() instead of MODULE_ALIAS()
platform/x86: dell-wmi: use MODULE_DEVICE_TABLE() instead of MODULE_ALIAS()
platform/x86: dell-wmi-descriptor: use MODULE_DEVICE_TABLE() instead of MODULE_ALIAS()
platform/x86: dell-smbios-wmi: use MODULE_DEVICE_TABLE() instead of MODULE_ALIAS()
platform/x86: wmi: add WMI support to MODULE_DEVICE_TABLE()
platform/x86: wmi: move struct wmi_device_id to mod_devicetable.h
modpost: file2alias: define size of alias
platform/x86: touchscreen_dmi: Add info for the CHUWI Hi10 Air tablet
platform/x86: ideapad-laptop: Add Ideapad 530S-14ARR to no_hw_rfkill list
platform/x86: ideapad-laptop: Add Yoga C930 to no_hw_rfkill_list
platform/x86: intel_pmc_core: Quirk to ignore XTAL shutdown
platform/x86: intel_pmc_core: Add Package cstates residency info
platform/x86: intel_pmc_core: Add ICL platform support
...
Diffstat (limited to 'drivers/platform/x86/asus-wmi.c')
-rw-r--r-- | drivers/platform/x86/asus-wmi.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index 37b5de541270..ee1fa93708ec 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c | |||
@@ -2265,12 +2265,12 @@ static int asus_wmi_probe(struct platform_device *pdev) | |||
2265 | int ret; | 2265 | int ret; |
2266 | 2266 | ||
2267 | if (!wmi_has_guid(ASUS_WMI_MGMT_GUID)) { | 2267 | if (!wmi_has_guid(ASUS_WMI_MGMT_GUID)) { |
2268 | pr_warn("Management GUID not found\n"); | 2268 | pr_warn("ASUS Management GUID not found\n"); |
2269 | return -ENODEV; | 2269 | return -ENODEV; |
2270 | } | 2270 | } |
2271 | 2271 | ||
2272 | if (wdrv->event_guid && !wmi_has_guid(wdrv->event_guid)) { | 2272 | if (wdrv->event_guid && !wmi_has_guid(wdrv->event_guid)) { |
2273 | pr_warn("Event GUID not found\n"); | 2273 | pr_warn("ASUS Event GUID not found\n"); |
2274 | return -ENODEV; | 2274 | return -ENODEV; |
2275 | } | 2275 | } |
2276 | 2276 | ||
@@ -2320,11 +2320,6 @@ EXPORT_SYMBOL_GPL(asus_wmi_unregister_driver); | |||
2320 | 2320 | ||
2321 | static int __init asus_wmi_init(void) | 2321 | static int __init asus_wmi_init(void) |
2322 | { | 2322 | { |
2323 | if (!wmi_has_guid(ASUS_WMI_MGMT_GUID)) { | ||
2324 | pr_info("Asus Management GUID not found\n"); | ||
2325 | return -ENODEV; | ||
2326 | } | ||
2327 | |||
2328 | pr_info("ASUS WMI generic driver loaded\n"); | 2323 | pr_info("ASUS WMI generic driver loaded\n"); |
2329 | return 0; | 2324 | return 0; |
2330 | } | 2325 | } |