Skip to content
Commit 8631580f authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

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: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 77a8f0ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment