Dmitry Torokhov bf3e8502ee Input: synaptics-rmi4 - clean up F30 implementation
This patch does several cleanup changes to F30 code

- switch to using BIT() macro
- use DIV_ROUND_UP() where appropriate
- factor out code setting up and reporting buttons
- use single loop when reporting buttons: arithmetic is cheap compared to
  conditionals and associated branch misprediction.

Tested-By: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-02-09 13:01:33 -08:00
..
2017-01-31 00:18:07 -08:00
2017-01-24 12:37:43 -08:00
2017-01-24 12:37:43 -08:00
2015-07-24 09:11:01 -07:00
2017-02-01 10:39:40 -08:00