aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/synaptics_usb.c
diff options
context:
space:
mode:
authorBob Ross <pigiron@gmx.com>2012-07-06 14:34:47 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-07-06 22:12:17 -0400
commitf2bb26b9b7652287719f08f080c09c2d7ddcf6b5 (patch)
tree7d42b5b94b2b4703df48631c8a6f2e1609749689 /drivers/input/mouse/synaptics_usb.c
parent404c3bc30cb1361e1b3533643326ab472d24a618 (diff)
Input: synaptics_usb - Remove TrackPoint name trailing whitespace
The USB TrackPoint name string contains a space at the trailing end that can cause confusion/difficulty when creating udev rules. Example: "Synaptics Inc. Composite TouchPad / TrackPoint (Stick) " This patch removes the trailing space. Signed-off-by: Bob Ross <pigiron@gmx.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/synaptics_usb.c')
-rw-r--r--drivers/input/mouse/synaptics_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics_usb.c b/drivers/input/mouse/synaptics_usb.c
index 3c5eaaa5d154..64cf34ea7604 100644
--- a/drivers/input/mouse/synaptics_usb.c
+++ b/drivers/input/mouse/synaptics_usb.c
@@ -364,7 +364,7 @@ static int synusb_probe(struct usb_interface *intf,
364 le16_to_cpu(udev->descriptor.idProduct)); 364 le16_to_cpu(udev->descriptor.idProduct));
365 365
366 if (synusb->flags & SYNUSB_STICK) 366 if (synusb->flags & SYNUSB_STICK)
367 strlcat(synusb->name, " (Stick) ", sizeof(synusb->name)); 367 strlcat(synusb->name, " (Stick)", sizeof(synusb->name));
368 368
369 usb_make_path(udev, synusb->phys, sizeof(synusb->phys)); 369 usb_make_path(udev, synusb->phys, sizeof(synusb->phys));
370 strlcat(synusb->phys, "/input0", sizeof(synusb->phys)); 370 strlcat(synusb->phys, "/input0", sizeof(synusb->phys));