summaryrefslogtreecommitdiffstats
path: root/Documentation/CodingStyle
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-04-20 22:33:09 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-04-20 23:08:48 -0700
commit71f3d070a309504cdfef87b9e98836395b75ae0e (patch)
tree75ed4cbae62fece04fd06a15a7460fa8215bb2fa /Documentation/CodingStyle
parentbcad87bd92f4331d4422c1afd571e66f7f5c95d6 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud