git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hid/apple: modern macbook airs use the standard apple function key translations
[pandora-kernel.git]
/
drivers
/
hid
/
hid-apple.c
diff --git
a/drivers/hid/hid-apple.c
b/drivers/hid/hid-apple.c
index
8cdb4b4
..
299d238
100644
(file)
--- a/
drivers/hid/hid-apple.c
+++ b/
drivers/hid/hid-apple.c
@@
-183,9
+183,6
@@
static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input,
if (hid->product >= USB_DEVICE_ID_APPLE_WELLSPRING4_ANSI &&
hid->product <= USB_DEVICE_ID_APPLE_WELLSPRING4A_JIS)
table = macbookair_fn_keys;
if (hid->product >= USB_DEVICE_ID_APPLE_WELLSPRING4_ANSI &&
hid->product <= USB_DEVICE_ID_APPLE_WELLSPRING4A_JIS)
table = macbookair_fn_keys;
- else if (hid->product >= USB_DEVICE_ID_APPLE_WELLSPRING6_ANSI &&
- hid->product <= USB_DEVICE_ID_APPLE_WELLSPRING6_JIS)
- table = macbookair_fn_keys;
else if (hid->product < 0x21d || hid->product >= 0x300)
table = powerbook_fn_keys;
else
else if (hid->product < 0x21d || hid->product >= 0x300)
table = powerbook_fn_keys;
else