platform/x86: intel-vbtn: reduce unnecessary messages for normal users
authorAlex Hung <alex.hung@canonical.com>
Fri, 21 Jul 2017 03:56:48 +0000 (20:56 -0700)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 18 Aug 2017 23:23:15 +0000 (16:23 -0700)
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>
drivers/platform/x86/intel-vbtn.c

index 480926786cb8a39f62208cb55681e698822c1826..58c5ff36523ab9bc4d570ff781f91cd0d9a433ea 100644 (file)
@@ -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)