platform-drivers-x86: intel_menlow: add missing return AE_OK for intel_menlow_registe...
authorAxel Lin <axel.lin@gmail.com>
Thu, 7 Jul 2011 02:05:49 +0000 (10:05 +0800)
committerMatthew Garrett <mjg@redhat.com>
Fri, 5 Aug 2011 18:46:12 +0000 (14:46 -0400)
commitc8bb2ebd6267d6c1288201344d7e7ee987d74467
treeaf708620fa450a71cfa01e69de279b29cbd30c10
parent03f8952cf63b6059e56074be6ed450dc7739cdee
platform-drivers-x86: intel_menlow: add missing return AE_OK for intel_menlow_register_sensor()

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