From: Alex Hung Date: Fri, 21 Jul 2017 03:56:48 +0000 (-0700) Subject: platform/x86: intel-vbtn: reduce unnecessary messages for normal users X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a9c37b74fd0242f3c8ce4221bb7a61cb14ccd59b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Darren Hart (VMware) --- diff --git a/drivers/platform/x86/intel-vbtn.c b/drivers/platform/x86/intel-vbtn.c index 480926786cb8..58c5ff36523a 100644 --- a/drivers/platform/x86/intel-vbtn.c +++ b/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)