]> git.baikalelectronics.ru Git - kernel.git/commit
Input: alps - process_bitmap: add alps_get_bitmap_points() helper function
authorHans de Goede <hdegoede@redhat.com>
Sat, 26 Jul 2014 05:38:51 +0000 (22:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 26 Jul 2014 21:03:14 +0000 (14:03 -0700)
commitc037c64991f78d52c57b99fd5d33eab19aa8af14
tree7472d338a769a1a5aeec098a0b8a039cfa1d88e7
parent632fc053ea21909e8ccb096dbf7b51b8b39201c3
Input: alps - process_bitmap: add alps_get_bitmap_points() helper function

Factor out the identical code for getting the bitmap points for x and y into
a helper function.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c
drivers/input/mouse/alps.h