Input: gpio-keys - remove extra call to input_sync
authorPaul Cercueil <paul@crapouillou.net>
Sun, 21 Mar 2021 23:06:23 +0000 (16:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Mar 2021 18:14:08 +0000 (11:14 -0700)
commit36a8fc6fa230eb936385884391cac80420cd0e6f
tree01cb4fa7e9127464717585b08ea0189f4f264ff0
parent6484e7581732d2785fc754f598f26fd4239b03c6
Input: gpio-keys - remove extra call to input_sync

The input_sync() function is already called after the loop in
gpio_keys_report_state(), so it does not need to be called after each
iteration within gpio_keys_gpio_report_event().

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20210307222240.380583-1-paul@crapouillou.net
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/gpio_keys.c