From: Dmitry Torokhov Date: Mon, 21 May 2007 04:17:57 +0000 (-0400) Subject: Input: aiptek - use maps in attributes X-Git-Tag: v2.6.23-rc1~1190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd438a58c89221d8642455d0cc8ec96d3b822f6e;p=pandora-kernel.git Input: aiptek - use maps in attributes Use maps to convert for strings to internal constants and vice versa in aiptek's sysfs attribute methods instead of open-coding it. This results in smaller code that is also easier to maintain. [Rene: fix a typo - stylys instead of stylus] Signed-off-by: Rene van Paassen Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed