Skip to content

Commit

Permalink
platform/x86: intel-hid: reduce unnecessary messages for normal users
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Darren Hart (VMware) <[email protected]>
  • Loading branch information
Alex Hung authored and dvhart committed Aug 18, 2017
1 parent 6b99e35 commit d496c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/platform/x86/intel-hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ static void notify_handler(acpi_handle handle, u32 event, void *context)
if (event != 0xc0) {
if (!priv->array ||
!sparse_keymap_report_event(priv->array, event, 1, true))
dev_info(&device->dev, "unknown event 0x%x\n", event);
dev_dbg(&device->dev, "unknown event 0x%x\n", event);
return;
}

Expand All @@ -230,7 +230,7 @@ static void notify_handler(acpi_handle handle, u32 event, void *context)
}

if (!sparse_keymap_report_event(priv->input_dev, ev_index, 1, true))
dev_info(&device->dev, "unknown event index 0x%llx\n",
dev_dbg(&device->dev, "unknown event index 0x%llx\n",
ev_index);
}

Expand Down

0 comments on commit d496c87

Please sign in to comment.