aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/kbtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/tablet/kbtab.c')
-rw-r--r--drivers/input/tablet/kbtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/tablet/kbtab.c b/drivers/input/tablet/kbtab.c
index 1182fc133167..f23f5a97fb38 100644
--- a/drivers/input/tablet/kbtab.c
+++ b/drivers/input/tablet/kbtab.c
@@ -63,8 +63,8 @@ static void kbtab_irq(struct urb *urb)
63 goto exit; 63 goto exit;
64 } 64 }
65 65
66 kbtab->x = le16_to_cpu(get_unaligned((__le16 *) &data[1])); 66 kbtab->x = get_unaligned_le16(&data[1]);
67 kbtab->y = le16_to_cpu(get_unaligned((__le16 *) &data[3])); 67 kbtab->y = get_unaligned_le16(&data[3]);
68 68
69 kbtab->pressure = (data[5]); 69 kbtab->pressure = (data[5]);
70 70