]> git.baikalelectronics.ru Git - kernel.git/commit
Input: serio - make write method mandatory
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 19 Jul 2021 21:34:40 +0000 (14:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 19 Jul 2021 21:35:21 +0000 (14:35 -0700)
commit978400b45fef7148d1633bbd47d5166b4dd46da9
tree871f0848bcb473ea2a25c04f7e6ae5b90615f769
parent32b683224417614effbb0de56a6b0f5da4ad49d5
Input: serio - make write method mandatory

Given that all serio drivers except one implement write() method
let's make it mandatory to avoid testing for its presence whenever
we attempt to use it.

Link: https://lore.kernel.org/r/YFgUxG/TljMuVeQ3@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/ams_delta_serio.c
drivers/input/serio/serio.c
include/linux/serio.h