summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnisse Astier <anisse@astier.eu>2009-12-10 13:18:17 (GMT)
committerLen Brown <len.brown@intel.com>2009-12-16 17:40:53 (GMT)
commit977f9b921c82726745a8b7281dc679edb32b4906 (patch)
tree83ada98763bfc43c1a56a35d576e337cfeeaeaa0
parent822ddc042a12aa2a8c2030ad4ebc660bc0e66c3f (diff)
downloadlinux-fsl-qoriq-977f9b921c82726745a8b7281dc679edb32b4906.tar.xz
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 75e422b2..d757935 100644
--- a/drivers/platform/x86/msi-wmi.c
+++ b/drivers/platform/x86/msi-wmi.c
@@ -56,7 +56,6 @@ struct key_entry {
char type; /* See KE_* below */
u16 code;
u16 keycode;
- int instance;
ktime_t last_pressed;
};
@@ -67,10 +66,10 @@ struct key_entry {
enum { KE_KEY, KE_END };
static struct key_entry msi_wmi_keymap[] = {
- { KE_KEY, 0xd0, KEY_BRIGHTNESSUP, 0, {0, } },
- { KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, 1, {0, } },
- { KE_KEY, 0xd2, KEY_VOLUMEUP, 2, {0, } },
- { KE_KEY, 0xd3, KEY_VOLUMEDOWN, 3, {0, } },
+ { KE_KEY, 0xd0, KEY_BRIGHTNESSUP, {0, } },
+ { KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, {0, } },
+ { KE_KEY, 0xd2, KEY_VOLUMEUP, {0, } },
+ { KE_KEY, 0xd3, KEY_VOLUMEDOWN, {0, } },
{ KE_END, 0}
};