]> git.baikalelectronics.ru Git - kernel.git/commit
Input: tca8418_keypad - remove double read of key event register
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 13 Feb 2017 23:45:59 +0000 (15:45 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 23 Feb 2017 17:21:30 +0000 (09:21 -0800)
commita9509217773d6c13db4533a1e2aac9ea26404105
tree6ec7e8cc38541327ae67eb80e5276514b74ab40a
parentb7a679a45d89acc39475d4b42674c7baad8d0483
Input: tca8418_keypad - remove double read of key event register

There is no need to tread the same register twice in a row.

Fixes: 0a3b0acbec38 ("Input: tca8418_keypad - hide gcc-4.9 -Wmaybe-un ...")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tca8418_keypad.c