commit | 4aa5bbeca0fe561181e8fba089cd96e449ee5fca | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Jun 08 01:01:46 2010 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Jun 08 01:26:01 2010 -0700 |
tree | a7765508f69637ba69b6d946e816b99ab980f292 | |
parent | 8bf2269fc08b883c728fce2171e9c6747a6a91b4 [diff] |
Input: usbtouchscreen - reduce number fo be16_to_cpu conversions Let's perform be16_to_cpu() conversions once for each received packet, and then use cached values. Makes code a little bit easier to follow. Tested-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>