From: Chase Douglas Date: Wed, 1 Sep 2010 01:56:20 +0000 (-0400) Subject: HID: magicmouse: simplify touch data bit manipulation X-Git-Tag: v2.6.37-rc1~144^2~3^5~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6de048bf1dd2ad35fe9b2326bf9d6d23fb2fff7a;p=pandora-kernel.git HID: magicmouse: simplify touch data bit manipulation The new format should be easier to read to determine which bits correspond to which data. It also brings all the manipulation logic to the top of the function. This makes size and orientation reading more clear. Note that the impetus for this change is the forthcoming support for the Magic Trackpad, which has a different touch data protocol. Signed-off-by: Chase Douglas Acked-by: Michael Poole Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed