summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/elantech.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2016-07-19 20:02:56 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-07-19 20:02:56 +0200
commit8c57a5e7b2820f349c95b8c8393fec1e0f4070d2 (patch)
tree8ef0f3c986968392ccdc70ca43b23eba729e2019 /drivers/input/mouse/elantech.c
parentInput: pixcir_ts - add support for axis inversion / swapping (diff)
parentInput: ts4800-ts - add missing of_node_put after calling of_parse_phandle (diff)
downloadlinux-8c57a5e7b2820f349c95b8c8393fec1e0f4070d2.tar.xz
linux-8c57a5e7b2820f349c95b8c8393fec1e0f4070d2.zip
Merge branch 'for-linus' into next
Sync up to bring in wacom_w8001 changes to avoid merge conflicts later.
Diffstat (limited to 'drivers/input/mouse/elantech.c')
-rw-r--r--drivers/input/mouse/elantech.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index e0fbd423d675..615d23ec0d8e 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1568,13 +1568,7 @@ static int elantech_set_properties(struct elantech_data *etd)
case 5:
etd->hw_version = 3;
break;
- case 6:
- case 7:
- case 8:
- case 9:
- case 10:
- case 13:
- case 14:
+ case 6 ... 14:
etd->hw_version = 4;
break;
default: