aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-06-30 01:48:51 -0400
committerDmitry Torokhov <dtor_core@ameritech.net>2005-06-30 01:48:51 -0400
commitc27a748225fe5c7e485ea471178c26e43f9f7fbe (patch)
tree85ad56ffaf3cd0dbffe27770d87cd749e9349ccc /drivers/usb
parentae87dff7ca2723a2428fb55dd57da1315878eb08 (diff)
Input: acecad - drop unneeded cast and couple unneeded spaces.
Noticed by Joe Perches. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Stephane VOLTZ <svoltz@numericable.fr>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/input/acecad.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/input/acecad.c b/drivers/usb/input/acecad.c
index ebcf7c955800..68039b04af3b 100644
--- a/drivers/usb/input/acecad.c
+++ b/drivers/usb/input/acecad.c
@@ -87,8 +87,8 @@ static void usb_acecad_irq(struct urb *urb, struct pt_regs *regs)
87 if (prox) { 87 if (prox) {
88 int x = data[1] | (data[2] << 8); 88 int x = data[1] | (data[2] << 8);
89 int y = data[3] | (data[4] << 8); 89 int y = data[3] | (data[4] << 8);
90 /*Pressure should compute the same way for flair and 302*/ 90 /* Pressure should compute the same way for flair and 302 */
91 int pressure = data[5] | ((int)data[6] << 8); 91 int pressure = data[5] | (data[6] << 8);
92 int touch = data[0] & 0x01; 92 int touch = data[0] & 0x01;
93 int stylus = (data[0] & 0x10) >> 4; 93 int stylus = (data[0] & 0x10) >> 4;
94 int stylus2 = (data[0] & 0x20) >> 5; 94 int stylus2 = (data[0] & 0x20) >> 5;
@@ -104,9 +104,9 @@ static void usb_acecad_irq(struct urb *urb, struct pt_regs *regs)
104 input_sync(dev); 104 input_sync(dev);
105 105
106resubmit: 106resubmit:
107 status = usb_submit_urb (urb, GFP_ATOMIC); 107 status = usb_submit_urb(urb, GFP_ATOMIC);
108 if (status) 108 if (status)
109 err ("can't resubmit intr, %s-%s/input0, status %d", 109 err("can't resubmit intr, %s-%s/input0, status %d",
110 acecad->usbdev->bus->bus_name, acecad->usbdev->devpath, status); 110 acecad->usbdev->bus->bus_name, acecad->usbdev->devpath, status);
111} 111}
112 112