diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-05-09 20:49:59 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-10 17:39:34 -0400 |
commit | 63c9576544718a949460865588981b70bb717020 (patch) | |
tree | cbc0e16a435a1d1574c47eb81446fe8e0064280c | |
parent | bb546136cc0b07b3f4dc972a196650d50fe1aaaa (diff) |
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>
-rw-r--r-- | drivers/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 0d204b841575..067a6edd643c 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -1144,7 +1144,7 @@ static int input_devices_seq_show(struct seq_file *seq, void *v) | |||
1144 | seq_printf(seq, "P: Phys=%s\n", dev->phys ? dev->phys : ""); | 1144 | seq_printf(seq, "P: Phys=%s\n", dev->phys ? dev->phys : ""); |
1145 | seq_printf(seq, "S: Sysfs=%s\n", path ? path : ""); | 1145 | seq_printf(seq, "S: Sysfs=%s\n", path ? path : ""); |
1146 | seq_printf(seq, "U: Uniq=%s\n", dev->uniq ? dev->uniq : ""); | 1146 | seq_printf(seq, "U: Uniq=%s\n", dev->uniq ? dev->uniq : ""); |
1147 | seq_printf(seq, "H: Handlers="); | 1147 | seq_puts(seq, "H: Handlers="); |
1148 | 1148 | ||
1149 | list_for_each_entry(handle, &dev->h_list, d_node) | 1149 | list_for_each_entry(handle, &dev->h_list, d_node) |
1150 | seq_printf(seq, "%s ", handle->name); | 1150 | seq_printf(seq, "%s ", handle->name); |