]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hid/apple: modern macbook airs use the standard apple function key translations
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 02:34:03 +0000 (18:34 -0800)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:19 +0000 (11:18 -0800)
commit39f1efeb63bb7b61737fcf47e443b7708d69cf22
tree9c6eb89092adcabe8db96a0198b2346243f949e0
parent941335bfbcc91f087e0d67a9d22795c83434dcc8
hid/apple: modern macbook airs use the standard apple function key translations

commit 21404b772a1c65f7b935b8c0fddc388a949f4e31 upstream.

This removes the use of the special "macbookair_fn_keys" keyboard
translation table for the MacBookAir4,x models (ie the 2011 refresh).
They use the standard apple_fn_keys[] translation.  Apparently only the
old MacBook Air's need a different translation table.

This mirrors the change that commit da617c7cb915 ("HID: consolidate
MacbookAir 4,1 mappings") did for the WELLSPRING6A ones, but does it for
the WELLSPRING6 model used on the MacBookAir4,2.

Reported-and-tested-by: Dirk Hohndel <hohndel@infradead.org>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Joshua V Dillon <jvdillon@gmail.com>
Cc: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hid/hid-apple.c