]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Input: rotary_encoder - use input_set_capability()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 17 Jan 2016 18:52:54 +0000 (10:52 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 2 Mar 2016 17:32:07 +0000 (09:32 -0800)
commit8631580f4fde9584ef39480eb0f2219708e5aeba
treec218be2577df873768bc1d00009abde0933e6460
parent77a8f0ad38844b5d4163424c4feb8abbbbb55af0
Input: rotary_encoder - use input_set_capability()

Instead of manipulating capability bits directly let's use appropriate
helpers. Also there is no need to explicitly set EV_ABS when calling
input_set_abs_params().

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/rotary_encoder.c