mirror of
https://github.com/torvalds/linux.git
synced 2026-10-13 22:01:02 +02:00
drm/amd/display: Simplify data output in ips_status_show()
Move the specification for a line break from a seq_puts() call to a previous seq_printf() call. This issue was detected by using the Coccinelle software. Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
402e04f11f
commit
2ad08b9c79
|
|
@ -2710,11 +2710,10 @@ static int ips_status_show(struct seq_file *m, void *unused)
|
|||
rcg_count = ips_fw->rcg_exit_count;
|
||||
ips1_count = ips_fw->ips1_exit_count;
|
||||
ips2_count = ips_fw->ips2_exit_count;
|
||||
seq_printf(m, "exit counts: rcg=%u ips1=%u ips2=%u",
|
||||
seq_printf(m, "exit counts: rcg=%u ips1=%u ips2=%u\n",
|
||||
rcg_count,
|
||||
ips1_count,
|
||||
ips2_count);
|
||||
seq_puts(m, "\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user