diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-20 22:33:09 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-20 23:08:48 -0700 |
commit | 71f3d070a309504cdfef87b9e98836395b75ae0e (patch) | |
tree | 75ed4cbae62fece04fd06a15a7460fa8215bb2fa /Documentation/CodingStyle | |
parent | bcad87bd92f4331d4422c1afd571e66f7f5c95d6 (diff) | |
download | blackbird-op-linux-71f3d070a309504cdfef87b9e98836395b75ae0e.tar.gz blackbird-op-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 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions