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:
Markus Elfring 2026-06-05 12:40:31 +02:00 committed by Alex Deucher
parent 402e04f11f
commit 2ad08b9c79

View File

@ -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;
}