mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
Input: use seq_puts() in input_devices_seq_show()
Use seq_puts() when printing a string which does not contain a data format specification. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
bb546136cc
commit
63c9576544
@ -1144,7 +1144,7 @@ static int input_devices_seq_show(struct seq_file *seq, void *v)
|
||||
seq_printf(seq, "P: Phys=%s\n", dev->phys ? dev->phys : "");
|
||||
seq_printf(seq, "S: Sysfs=%s\n", path ? path : "");
|
||||
seq_printf(seq, "U: Uniq=%s\n", dev->uniq ? dev->uniq : "");
|
||||
seq_printf(seq, "H: Handlers=");
|
||||
seq_puts(seq, "H: Handlers=");
|
||||
|
||||
list_for_each_entry(handle, &dev->h_list, d_node)
|
||||
seq_printf(seq, "%s ", handle->name);
|
||||
|
Loading…
Reference in New Issue
Block a user