提交 074df51c 编写于 作者: A Andy Lutomirski 提交者: Darren Hart (VMware)

platform/x86: dell-wmi: Add a comment explaining the 0xb2 magic number

The hotkey table is 0xb2, add a comment for clarity.
Suggested-by: NDarren Hart <dvhart@infradead.org>
Signed-off-by: NAndy Lutomirski <luto@kernel.org>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Reviewed-by: NPali Rohár <pali.rohar@gmail.com>
Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: NDarren Hart (VMware) <dvhart@infradead.org>
上级 d659d11a
......@@ -449,6 +449,7 @@ static void __init handle_dmi_entry(const struct dmi_header *dm,
if (results->err || results->keymap)
return; /* We already found the hotkey table. */
/* The Dell hotkey table is type 0xB2. Scan until we find it. */
if (dm->type != 0xb2)
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册