Input: synaptics - use u8 instead of unsigned char
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Mar 2017 18:20:38 +0000 (11:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2017 23:23:58 +0000 (16:23 -0700)
commitf6c4442bfa0812efbb5d54db01a17a7ba0fc9298
treebdc1cd57839bd168d54b8dddb0fc0f9820391892
parent212baf03a30a8fb29ab5f69726bb920ebe3d44a1
Input: synaptics - use u8 instead of unsigned char

The rest of the kernel uses u8, u16, etc for data coming form hardware,
let's switch ti using u8 here as well.

Also turn pkt_type into an enum.

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