diff options
author | Len Brown <len.brown@intel.com> | 2008-06-20 02:45:05 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-06-20 02:45:05 -0400 |
commit | 7b09f27891476c668d058926b90539e4068fbda2 (patch) | |
tree | 1d75c31446639e9e2fc675a96a3e382e42905aeb /drivers | |
parent | 9bedbcb207ed9a571b239231d99c8fd4a34ae24d (diff) | |
parent | f163ff5176a8e9c827d8ebe044710d67d40799c3 (diff) |
Merge branch 'bugzilla-10695' into release
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/ac.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c index 5b73f6a2cd8..831883b7d6c 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c @@ -233,6 +233,9 @@ static void acpi_ac_notify(acpi_handle handle, u32 event, void *data) device = ac->device; switch (event) { + default: + ACPI_DEBUG_PRINT((ACPI_DB_INFO, + "Unsupported event [0x%x]\n", event)); case ACPI_AC_NOTIFY_STATUS: case ACPI_NOTIFY_BUS_CHECK: case ACPI_NOTIFY_DEVICE_CHECK: @@ -244,11 +247,6 @@ static void acpi_ac_notify(acpi_handle handle, u32 event, void *data) #ifdef CONFIG_ACPI_SYSFS_POWER kobject_uevent(&ac->charger.dev->kobj, KOBJ_CHANGE); #endif - break; - default: - ACPI_DEBUG_PRINT((ACPI_DB_INFO, - "Unsupported event [0x%x]\n", event)); - break; } return; |