diff options
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 | } |