drm/amd/display: Use seq_putc() in three functions

Single characters should occasionally be put into a sequence.
Thus use the corresponding function “seq_putc”.

The source code was transformed 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:44:01 +02:00 committed by Alex Deucher
parent 2ad08b9c79
commit 99e37b3ba8

View File

@ -606,7 +606,7 @@ static int dp_lttpr_status_show(struct seq_file *m, void *unused)
break;
}
seq_puts(m, "\n");
seq_putc(m, '\n');
return 0;
}
@ -1081,7 +1081,7 @@ static int psr_capability_show(struct seq_file *m, void *data)
seq_printf(m, "Driver support: %s", str_yes_no(link->psr_settings.psr_feature_enabled));
if (link->psr_settings.psr_version)
seq_printf(m, " [0x%02x]", link->psr_settings.psr_version);
seq_puts(m, "\n");
seq_putc(m, '\n');
return 0;
}
@ -1266,7 +1266,7 @@ static int hdcp_sink_capability_show(struct seq_file *m, void *data)
if (!hdcp_cap && !hdcp2_cap)
seq_printf(m, "%s ", "None");
seq_puts(m, "\n");
seq_putc(m, '\n');
return 0;
}