HID: make translation table selection more clear
authorJiri Kosina <jkosina@suse.cz>
Wed, 3 Nov 2010 14:42:02 +0000 (10:42 -0400)
committerJiri Kosina <jkosina@suse.cz>
Wed, 3 Nov 2010 14:42:02 +0000 (10:42 -0400)
commita4bc6926d05b60bf70aab2db2c6715e15118cbdc
tree8b75de49e968ff6870a66ffaddfc1e5c18964530
parent99b9f758bbc904f22faffcf4d83205f4a5e7bc0c
HID: make translation table selection more clear

Reshuffle the code a little bit so that the translation table selection
is more obvious and there is only one place performing the actual
translation using the selected table.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-apple.c