Message ID | 0364de83-2ff2-3309-ec38-1e4db66d8231@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 ce850f80d9e3..1e8ac6e569a2 100644 --- a/drivers/hid/hid-debug.c +++ b/drivers/hid/hid-debug.c @@ -646,8 +646,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);