Input: synaptics - add synaptics_query_int()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Mar 2017 00:40:57 +0000 (17:40 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2017 23:23:57 +0000 (16:23 -0700)
commit2c6ecbba90d4e909bdc8982b4a2318e99d7fc4f2
tree7c6bc00a18f09644f3e6b584766b306338e8f70c
parenta716a026bb0d824c9ab6d6ac778c030c0030b178
Input: synaptics - add synaptics_query_int()

Factor out querying and parsing 3-byte response into an integer value.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c
drivers/input/mouse/synaptics.h