Repository navigation
Commit 4f95963
committed
Input: ad7879 - do not manipulate capability bits directly
Instead of manipulating capabilities bits of input device directly, let's
use input_set_capability() API.
Also, stop setting ABS_X/Y bits explicitly as input_set_abs_params() does
this for us.
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>1 parent 3a97c3d commit 4f95963
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
| 593 | + | |
600 | 594 | | |
601 | 595 | | |
602 | 596 | | |
| |||
614 | 608 | | |
615 | 609 | | |
616 | 610 | | |
| 611 | + | |
617 | 612 | | |
618 | 613 | | |
619 | 614 | | |
| |||
0 commit comments