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)
commit036e6c7b541a9a57b4e294ee4727045d81f68ca0
tree7472d338a769a1a5aeec098a0b8a039cfa1d88e7
parent40e8f53bffe074e6cd409cf484e4b55c114c93d6
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