aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/mouse')
-rw-r--r--drivers/input/mouse/lifebook.c3
-rw-r--r--drivers/input/mouse/psmouse-base.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/input/mouse/lifebook.c b/drivers/input/mouse/lifebook.c
index 4c254876609f..54b7f64d6e62 100644
--- a/drivers/input/mouse/lifebook.c
+++ b/drivers/input/mouse/lifebook.c
@@ -107,8 +107,7 @@ static const struct dmi_system_id lifebook_dmi_table[] = {
107 .matches = { 107 .matches = {
108 DMI_MATCH(DMI_PRODUCT_NAME, "CF-72"), 108 DMI_MATCH(DMI_PRODUCT_NAME, "CF-72"),
109 }, 109 },
110 .callback = lifebook_set_serio_phys, 110 .callback = lifebook_set_6byte_proto,
111 .driver_data = "isa0060/serio3",
112 }, 111 },
113 { 112 {
114 .ident = "Lifebook B142", 113 .ident = "Lifebook B142",
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
index e1c9fe210083..acd16707696e 100644
--- a/drivers/input/mouse/psmouse-base.c
+++ b/drivers/input/mouse/psmouse-base.c
@@ -597,7 +597,7 @@ static int cortron_detect(struct psmouse *psmouse, bool set_properties)
597static int psmouse_extensions(struct psmouse *psmouse, 597static int psmouse_extensions(struct psmouse *psmouse,
598 unsigned int max_proto, bool set_properties) 598 unsigned int max_proto, bool set_properties)
599{ 599{
600 bool synaptics_hardware = true; 600 bool synaptics_hardware = false;
601 601
602/* 602/*
603 * We always check for lifebook because it does not disturb mouse 603 * We always check for lifebook because it does not disturb mouse
@@ -1689,7 +1689,7 @@ static int psmouse_get_maxproto(char *buffer, struct kernel_param *kp)
1689{ 1689{
1690 int type = *((unsigned int *)kp->arg); 1690 int type = *((unsigned int *)kp->arg);
1691 1691
1692 return sprintf(buffer, "%s\n", psmouse_protocol_by_type(type)->name); 1692 return sprintf(buffer, "%s", psmouse_protocol_by_type(type)->name);
1693} 1693}
1694 1694
1695static int __init psmouse_init(void) 1695static int __init psmouse_init(void)