Input: evdev - switch to bitmap API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 1 Aug 2018 22:47:47 +0000 (15:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 2 Aug 2018 00:59:25 +0000 (17:59 -0700)
commit6078091c9fa899b0fd7097ae2af933554c2d989f
treeace91fd6231d3f81ac0d300dc730dbffd640de18
parent4e2ec39ddbf3d78bc3b576a775fd5b4e4ff4af34
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>
drivers/input/evdev.c