aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/acer-wmi.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c
index 49846bd2b5c8..9af733b3f2aa 100644
--- a/drivers/misc/acer-wmi.c
+++ b/drivers/misc/acer-wmi.c
@@ -1052,11 +1052,12 @@ static int __init acer_wmi_init(void)
1052 1052
1053 if (wmi_has_guid(WMID_GUID2) && interface) { 1053 if (wmi_has_guid(WMID_GUID2) && interface) {
1054 if (ACPI_FAILURE(WMID_set_capabilities())) { 1054 if (ACPI_FAILURE(WMID_set_capabilities())) {
1055 printk(ACER_ERR "Unable to detect available devices\n"); 1055 printk(ACER_ERR "Unable to detect available WMID "
1056 "devices\n");
1056 return -ENODEV; 1057 return -ENODEV;
1057 } 1058 }
1058 } else if (!wmi_has_guid(WMID_GUID2) && interface) { 1059 } else if (!wmi_has_guid(WMID_GUID2) && interface) {
1059 printk(ACER_ERR "Unable to detect available devices\n"); 1060 printk(ACER_ERR "No WMID device detection method found\n");
1060 return -ENODEV; 1061 return -ENODEV;
1061 } 1062 }
1062 1063
@@ -1064,7 +1065,8 @@ static int __init acer_wmi_init(void)
1064 interface = &AMW0_interface; 1065 interface = &AMW0_interface;
1065 1066
1066 if (ACPI_FAILURE(AMW0_set_capabilities())) { 1067 if (ACPI_FAILURE(AMW0_set_capabilities())) {
1067 printk(ACER_ERR "Unable to detect available devices\n"); 1068 printk(ACER_ERR "Unable to detect available AMW0 "
1069 "devices\n");
1068 return -ENODEV; 1070 return -ENODEV;
1069 } 1071 }
1070 } 1072 }
@@ -1075,8 +1077,8 @@ static int __init acer_wmi_init(void)
1075 find_quirks(); 1077 find_quirks();
1076 1078
1077 if (!interface) { 1079 if (!interface) {
1078 printk(ACER_ERR "No or unsupported WMI interface, unable to "); 1080 printk(ACER_ERR "No or unsupported WMI interface, unable to "
1079 printk(KERN_CONT "load.\n"); 1081 "load\n");
1080 return -ENODEV; 1082 return -ENODEV;
1081 } 1083 }
1082 1084