Repository navigation
Commit 6078091
Input: evdev - switch to bitmap API
Switch to bitmap API, i.e. bitmap_alloc(), bitmap_zalloc(), to show
clearly what we are allocating. Besides that it returns pointer of
bitmap type instead of opaque void *.
While here, replace memcpy() with bitmap_copy() for sake of consistency.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>1 parent 4e2ec39 commit 6078091
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
929 | 928 | | |
930 | | - | |
931 | | - | |
| 929 | + | |
932 | 930 | | |
933 | 931 | | |
934 | 932 | | |
935 | 933 | | |
936 | 934 | | |
937 | 935 | | |
938 | | - | |
| 936 | + | |
939 | 937 | | |
940 | 938 | | |
941 | 939 | | |
| |||
947 | 945 | | |
948 | 946 | | |
949 | 947 | | |
950 | | - | |
| 948 | + | |
951 | 949 | | |
952 | 950 | | |
953 | 951 | | |
| |||
1003 | 1001 | | |
1004 | 1002 | | |
1005 | 1003 | | |
1006 | | - | |
| 1004 | + | |
1007 | 1005 | | |
1008 | 1006 | | |
1009 | 1007 | | |
1010 | 1008 | | |
1011 | 1009 | | |
1012 | | - | |
| 1010 | + | |
1013 | 1011 | | |
1014 | 1012 | | |
1015 | 1013 | | |
| |||
1018 | 1016 | | |
1019 | 1017 | | |
1020 | 1018 | | |
1021 | | - | |
| 1019 | + | |
1022 | 1020 | | |
1023 | 1021 | | |
1024 | 1022 | | |
| |||
0 commit comments