diff options
author | Paul Donohue <linux-kernel@PaulSD.com> | 2016-11-29 07:16:21 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-11-29 07:24:07 +0300 |
commit | 23fce365c6a26e40d459ca97289dd18543fb6845 (patch) | |
tree | 80d5e66a08da765022c63e2645c737bfdf09ba31 /drivers/input/mouse/amimouse.c | |
parent | 7229c58c096ca08576cbcbf6669bfbdcae0b5d22 (diff) | |
download | linux-23fce365c6a26e40d459ca97289dd18543fb6845.tar.xz |
Input: ALPS - clean up code for SS5 hardware
The return value of alps_get_pkt_id_ss4_v2() should really be "enum
SS4_PACKET_ID", not "unsigned char". Correct this.
Also, most of the Alps SS5 (SS4 v2) packet byte parsing code is implemented
using macros, but there are a few places where bytes are directly
manipulated in alps.c. For consistency, migrate the rest of these to
macros.
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Paul Donohue <linux-kernel@PaulSD.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/amimouse.c')
0 files changed, 0 insertions, 0 deletions