aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/gunze.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-29 13:40:13 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-29 13:40:13 -0400
commit45b30105e7231b70bb855923dbca443ee3ba44c3 (patch)
tree3628af0d6e4be079c9638edb17e20dab74d19cea /drivers/input/touchscreen/gunze.c
parent6cf2b3fc9934a56ceeb393ea5d0149e0bebc80fa (diff)
parent7d6064d44bc79e328f2794ee7322ba2676511e2b (diff)
Automatic merge of 'for-linus' branch from
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input
Diffstat (limited to 'drivers/input/touchscreen/gunze.c')
-rw-r--r--drivers/input/touchscreen/gunze.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/gunze.c b/drivers/input/touchscreen/gunze.c
index c9d0a153671c..53a27e43dd23 100644
--- a/drivers/input/touchscreen/gunze.c
+++ b/drivers/input/touchscreen/gunze.c
@@ -68,8 +68,7 @@ static void gunze_process_packet(struct gunze* gunze, struct pt_regs *regs)
68 68
69 if (gunze->idx != GUNZE_MAX_LENGTH || gunze->data[5] != ',' || 69 if (gunze->idx != GUNZE_MAX_LENGTH || gunze->data[5] != ',' ||
70 (gunze->data[0] != 'T' && gunze->data[0] != 'R')) { 70 (gunze->data[0] != 'T' && gunze->data[0] != 'R')) {
71 gunze->data[10] = 0; 71 printk(KERN_WARNING "gunze.c: bad packet: >%.*s<\n", GUNZE_MAX_LENGTH, gunze->data);
72 printk(KERN_WARNING "gunze.c: bad packet: >%s<\n", gunze->data);
73 return; 72 return;
74 } 73 }
75 74