projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f8952
)
platform-drivers-x86: intel_menlow: add missing return AE_OK for intel_menlow_registe...
author
Axel Lin
<axel.lin@gmail.com>
Thu, 7 Jul 2011 02:05:49 +0000
(10:05 +0800)
committer
Matthew Garrett
<mjg@redhat.com>
Fri, 5 Aug 2011 18:46:12 +0000
(14:46 -0400)
Otherwise, the error path will always be executed.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_menlow.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/intel_menlow.c
b/drivers/platform/x86/intel_menlow.c
index
809adea
..
abddc83
100644
(file)
--- a/
drivers/platform/x86/intel_menlow.c
+++ b/
drivers/platform/x86/intel_menlow.c
@@
-477,6
+477,8
@@
static acpi_status intel_menlow_register_sensor(acpi_handle handle, u32 lvl,
return AE_ERROR;
}
+ return AE_OK;
+
aux1_not_found:
if (status == AE_NOT_FOUND)
return AE_OK;