]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/input/input.c
input: Adjust structure of code in process_modifier()
authorSimon Glass <sjg@chromium.org>
Wed, 11 Nov 2015 17:05:38 +0000 (10:05 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:41 +0000 (20:13 -0700)
commita683d0d347f2977632c5b1b0b58ca1fa894fef9c
tree6a2a85af19c66e50db30bbe82156753e8174c543
parentb1d7a1875e2f96417a2ecd7ebe1680f650c2be22
input: Adjust structure of code in process_modifier()

Move all the '!release' code into one block so that it is clear that it only
applies on key release.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/input/input.c