diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-07-13 08:59:41 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-07-13 09:08:10 +0200 |
commit | c388b2c67e64d20cc0ad0d48d0e3e819d489bfed (patch) | |
tree | c9a4a6da8c6326a950466966c51e4ab535e2c2aa /drivers/input/mouse | |
parent | Input: gpio_keys - switch to using SIMPLE_DEV_PM_OPS (diff) | |
download | linux-c388b2c67e64d20cc0ad0d48d0e3e819d489bfed.tar.xz linux-c388b2c67e64d20cc0ad0d48d0e3e819d489bfed.zip |
Input: atkbd - 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.
Make the dmi callback function return 1 then dmi_check_system
will return immediately if we have a successful match.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse')
0 files changed, 0 insertions, 0 deletions