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)
commit81c7c0a350bfe9306ad9fb10356534ede8f4ab31
tree871f0848bcb473ea2a25c04f7e6ae5b90615f769
parent9aa75914e5fcb39e79fc6de9e44cd12943732c38
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