aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnisse Astier <anisse@astier.eu>2009-12-10 08:18:17 -0500
committerLen Brown <len.brown@intel.com>2009-12-16 12:40:53 -0500
commit977f9b921c82726745a8b7281dc679edb32b4906 (patch)
tree83ada98763bfc43c1a56a35d576e337cfeeaeaa0
parent822ddc042a12aa2a8c2030ad4ebc660bc0e66c3f (diff)
msi-wmi: remove unused field 'instance' in key_entry structure
Signed-off-by: Anisse Astier <anisse@astier.eu> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/platform/x86/msi-wmi.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/platform/x86/msi-wmi.c b/drivers/platform/x86/msi-wmi.c
index 75e422b27531..d7579359a2c5 100644
--- a/drivers/platform/x86/msi-wmi.c
+++ b/drivers/platform/x86/msi-wmi.c
@@ -56,7 +56,6 @@ struct key_entry {
56 char type; /* See KE_* below */ 56 char type; /* See KE_* below */
57 u16 code; 57 u16 code;
58 u16 keycode; 58 u16 keycode;
59 int instance;
60 ktime_t last_pressed; 59 ktime_t last_pressed;
61}; 60};
62 61
@@ -67,10 +66,10 @@ struct key_entry {
67enum { KE_KEY, KE_END }; 66enum { KE_KEY, KE_END };
68 67
69static struct key_entry msi_wmi_keymap[] = { 68static struct key_entry msi_wmi_keymap[] = {
70 { KE_KEY, 0xd0, KEY_BRIGHTNESSUP, 0, {0, } }, 69 { KE_KEY, 0xd0, KEY_BRIGHTNESSUP, {0, } },
71 { KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, 1, {0, } }, 70 { KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, {0, } },
72 { KE_KEY, 0xd2, KEY_VOLUMEUP, 2, {0, } }, 71 { KE_KEY, 0xd2, KEY_VOLUMEUP, {0, } },
73 { KE_KEY, 0xd3, KEY_VOLUMEDOWN, 3, {0, } }, 72 { KE_KEY, 0xd3, KEY_VOLUMEDOWN, {0, } },
74 { KE_END, 0} 73 { KE_END, 0}
75}; 74};
76 75