summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/bcm5974.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-06-08 08:01:46 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-06-08 08:26:01 (GMT)
commit4aa5bbeca0fe561181e8fba089cd96e449ee5fca (patch)
treea7765508f69637ba69b6d946e816b99ab980f292 /drivers/input/mouse/bcm5974.c
parent8bf2269fc08b883c728fce2171e9c6747a6a91b4 (diff)
downloadlinux-fsl-qoriq-4aa5bbeca0fe561181e8fba089cd96e449ee5fca.tar.xz
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>
Diffstat (limited to 'drivers/input/mouse/bcm5974.c')
0 files changed, 0 insertions, 0 deletions