Input: whitespace fixes in drivers/input/mouse
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
71387bd77f
commit
968ac842c4
8 changed files with 36 additions and 38 deletions
|
@ -468,10 +468,8 @@ int alps_detect(struct psmouse *psmouse, int set_properties)
|
|||
|
||||
if (set_properties) {
|
||||
psmouse->vendor = "ALPS";
|
||||
if (model->flags & ALPS_DUALPOINT)
|
||||
psmouse->name = "DualPoint TouchPad";
|
||||
else
|
||||
psmouse->name = "GlidePoint";
|
||||
psmouse->name = model->flags & ALPS_DUALPOINT ?
|
||||
"DualPoint TouchPad" : "GlidePoint";
|
||||
psmouse->model = version;
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -121,10 +121,10 @@ static struct input_dev inport_dev = {
|
|||
.name = INPORT_NAME,
|
||||
.phys = "isa023c/input0",
|
||||
.id = {
|
||||
.bustype = BUS_ISA,
|
||||
.vendor = INPORT_VENDOR,
|
||||
.product = 0x0001,
|
||||
.version = 0x0100,
|
||||
.bustype = BUS_ISA,
|
||||
.vendor = INPORT_VENDOR,
|
||||
.product = 0x0001,
|
||||
.version = 0x0100,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* $Id: maplemouse.c,v 1.2 2004/03/22 01:18:15 lethal Exp $
|
||||
* SEGA Dreamcast mouse driver
|
||||
* SEGA Dreamcast mouse driver
|
||||
* Based on drivers/usb/usbmouse.c
|
||||
*/
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ static ssize_t psmouse_do_set_##_name(struct device *d, const char *b, size_t s)
|
|||
{ \
|
||||
return psmouse_attr_set_helper(d, b, s, psmouse_attr_set_##_name); \
|
||||
} \
|
||||
static struct device_attribute psmouse_attr_##_name = \
|
||||
static struct device_attribute psmouse_attr_##_name = \
|
||||
__ATTR(_name, S_IWUSR | S_IRUGO, \
|
||||
psmouse_do_show_##_name, psmouse_do_set_##_name);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers)
|
||||
* DEC VSXXX-GA mouse (rectangular mouse, with ball)
|
||||
* DEC VSXXX-AB tablet (digitizer with hair cross or stylus)
|
||||
* DEC VSXXX-GA mouse (rectangular mouse, with ball)
|
||||
* DEC VSXXX-AB tablet (digitizer with hair cross or stylus)
|
||||
*
|
||||
* Copyright (C) 2003-2004 by Jan-Benedict Glaw <jbglaw@lug-owl.de>
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue