Input: appletouch - simplify touchpad type detection
authorSven Anders <anders@anduras.de>
Tue, 6 May 2008 03:57:10 +0000 (23:57 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 16 May 2008 18:50:22 +0000 (14:50 -0400)
commite9542dff390668f85dc8dca0ca019b27e4396f97
tree3767d1d0ce242997bbfc3851364f89db032994af
parent7dce869f120cd7500e83850a6036dfeffcf77c57
Input: appletouch - simplify touchpad type detection

This patch simplifies type detection and removes unnecessary code.

Signed-off-by: Sven Anders <anders@anduras.de>
[jberg: don't typedef, checkpatch clean, remove useless comments, ...]
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/appletouch.c