diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-21 07:33:09 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-21 08:08:48 +0200 |
commit | 71f3d070a309504cdfef87b9e98836395b75ae0e (patch) | |
tree | 75ed4cbae62fece04fd06a15a7460fa8215bb2fa /drivers/hwmon/lm92.c | |
parent | Input: cma3000-d0x - remove unneeded checks (diff) | |
download | linux-71f3d070a309504cdfef87b9e98836395b75ae0e.tar.xz linux-71f3d070a309504cdfef87b9e98836395b75ae0e.zip |
Input: tc3589x-keypad - remove unnecessary checks
settle_time and debounce_period are u8 and thus can not be greater than
TC3589x_MAX_DEBOUNCE_SETTLE which is 255.
There also no need to mask out nibbles form board->krow and board->kcol
as we validate that they are in correct range.
Reported-by: Werner <w.landgraf@ru.ru>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/hwmon/lm92.c')
0 files changed, 0 insertions, 0 deletions