]> 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)
commita48dc1dbaea497ecaf1670dcae2d928c75bf7b2b
tree871f0848bcb473ea2a25c04f7e6ae5b90615f769
parentc7c55adf90bbbe7ef5621b944d8094059f799813
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