Input: lifebook - make dmi callback functions return 1
authorAxel Lin <axel.lin@gmail.com>
Wed, 13 Jul 2011 07:02:21 +0000 (00:02 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Jul 2011 07:08:15 +0000 (00:08 -0700)
commitfea2021c76a414b71204cc2aea623bb037fa913b
tree71803dcc10e402d8590c15a505923add8b5a0844
parentc388b2c67e64d20cc0ad0d48d0e3e819d489bfed
Input: lifebook - make dmi callback functions return 1

We only care about if there is a successful match from the table (or
no match at all), so let's make dmi_check_system return immediately
instead of iterating thorough the whole table.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/lifebook.c