瀏覽代碼

platform/x86: intel-vbtn: reduce unnecessary messages for normal users

Unsupported events is only useful for developers and does not meaningful
for users. Using dev_dbg makes more sense and reduces noise in kernel
messages.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Alex Hung 8 年之前
父節點
當前提交
a9c37b74fd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/platform/x86/intel-vbtn.c

+ 1 - 1
drivers/platform/x86/intel-vbtn.c

@@ -83,7 +83,7 @@ static void notify_handler(acpi_handle handle, u32 event, void *context)
 	} else if (sparse_keymap_report_event(priv->input_dev, event, 1, true)) {
 		return;
 	}
-	dev_info(&device->dev, "unknown event index 0x%x\n", event);
+	dev_dbg(&device->dev, "unknown event index 0x%x\n", event);
 }
 
 static int intel_vbtn_probe(struct platform_device *device)