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>
This commit is contained in:
Dmitry Torokhov 2005-06-30 00:48:51 -05:00
Родитель ae87dff7ca
Коммит c27a748225
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -88,7 +88,7 @@ static void usb_acecad_irq(struct urb *urb, struct pt_regs *regs)
int x = data[1] | (data[2] << 8);
int y = data[3] | (data[4] << 8);
/* Pressure should compute the same way for flair and 302 */
int pressure = data[5] | ((int)data[6] << 8);
int pressure = data[5] | (data[6] << 8);
int touch = data[0] & 0x01;
int stylus = (data[0] & 0x10) >> 4;
int stylus2 = (data[0] & 0x20) >> 5;