Message ID | aaec2476-9564-9768-0b0f-b2d48094e761@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index 383a4a838351..8d019d0db4f3 100644 --- a/drivers/hid/hid-debug.c +++ b/drivers/hid/hid-debug.c @@ -645,8 +645,7 @@ void hid_dump_device(struct hid_device *device, struct seq_file *f) seq_printf(f, "%s", table[i]); if (report->id) seq_printf(f, "(%d)", report->id); - seq_printf(f, "[%s]", table[report->type]); - seq_printf(f, "\n"); + seq_printf(f, "[%s]\n", table[report->type]); for (k = 0; k < report->maxfield; k++) { tab(4, f); seq_printf(f, "Field(%d)\n", k);