]> git.baikalelectronics.ru Git - kernel.git/commit
platform-drivers-x86: samsung-q10: make dmi_check_callback return 1
authorAxel Lin <axel.lin@gmail.com>
Mon, 18 Jul 2011 08:08:21 +0000 (16:08 +0800)
committerMatthew Garrett <mjg@redhat.com>
Fri, 5 Aug 2011 19:21:47 +0000 (15:21 -0400)
commit0cb7b8300f52e298ddb6d3950d69d5c7966fbaab
treef21f99e1afb1ec3d14da6861fb3ea9094dbc6cb7
parent06b7054b3911b0c29904766b011f29ecb74dadd0
platform-drivers-x86: samsung-q10: make dmi_check_callback return 1

We only care about if there is any successful match from the dmi table
or no match at all, we can make dmi_check_system return immediately if
we have a successful match instead of iterate thorough the whole table.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/samsung-q10.c