aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-10-22 23:19:50 -0400
committerLen Brown <len.brown@intel.com>2008-10-22 23:19:50 -0400
commit955ba395616a78780e70dc3f3b0b56ca4db52e5c (patch)
treef5978cfdc2b5ede82445de6675301a0171e66ea0 /drivers/misc
parentaa58329fc8ec50b379388fcad55f62c3493730d3 (diff)
parent383d7a11c9989205db44c7f1be339e5097062f03 (diff)
Merge branch 'bugfixes' into test
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/acer-wmi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c
index cf4c39fbc66f..0532a2de2ce4 100644
--- a/drivers/misc/acer-wmi.c
+++ b/drivers/misc/acer-wmi.c
@@ -473,7 +473,7 @@ struct wmi_interface *iface)
473 } 473 }
474 break; 474 break;
475 default: 475 default:
476 return AE_BAD_ADDRESS; 476 return AE_ERROR;
477 } 477 }
478 return AE_OK; 478 return AE_OK;
479} 479}
@@ -511,7 +511,7 @@ static acpi_status AMW0_set_u32(u32 value, u32 cap, struct wmi_interface *iface)
511 break; 511 break;
512 } 512 }
513 default: 513 default:
514 return AE_BAD_ADDRESS; 514 return AE_ERROR;
515 } 515 }
516 516
517 /* Actually do the set */ 517 /* Actually do the set */
@@ -686,7 +686,7 @@ struct wmi_interface *iface)
686 return 0; 686 return 0;
687 } 687 }
688 default: 688 default:
689 return AE_BAD_ADDRESS; 689 return AE_ERROR;
690 } 690 }
691 status = WMI_execute_u32(method_id, 0, &result); 691 status = WMI_execute_u32(method_id, 0, &result);
692 692
@@ -732,7 +732,7 @@ static acpi_status WMID_set_u32(u32 value, u32 cap, struct wmi_interface *iface)
732 } 732 }
733 break; 733 break;
734 default: 734 default:
735 return AE_BAD_ADDRESS; 735 return AE_ERROR;
736 } 736 }
737 return WMI_execute_u32(method_id, (u32)value, NULL); 737 return WMI_execute_u32(method_id, (u32)value, NULL);
738} 738}
@@ -782,7 +782,7 @@ static struct wmi_interface wmid_interface = {
782 782
783static acpi_status get_u32(u32 *value, u32 cap) 783static acpi_status get_u32(u32 *value, u32 cap)
784{ 784{
785 acpi_status status = AE_BAD_ADDRESS; 785 acpi_status status = AE_ERROR;
786 786
787 switch (interface->type) { 787 switch (interface->type) {
788 case ACER_AMW0: 788 case ACER_AMW0: