Skip to content

Commit

Permalink
Input: aiptek - use maps in attributes
Browse files Browse the repository at this point in the history
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 <rene.vanpaassen@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Dmitry Torokhov committed Jul 10, 2007
1 parent 02fb6c3 commit cd438a5
Showing 1 changed file with 138 additions and 224 deletions.
Loading

0 comments on commit cd438a5

Please sign in to comment.