提交 977f9b92 编写于 作者: A Anisse Astier 提交者: Len Brown

msi-wmi: remove unused field 'instance' in key_entry structure

Signed-off-by: NAnisse Astier <anisse@astier.eu>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 822ddc04
......@@ -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}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册