drm/sti: Replace 17 seq_puts() calls by seq_putc()
Single characters should be put into a sequence at several places. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Link: http://patchwork.freedesktop.org/patch/msgid/5b4e2964-0742-8367-976f-678356d9347a@users.sourceforge.net
This commit is contained in:

committed by
Benjamin Gaignard

parent
ecf79d15c7
commit
e9635133d4
@@ -354,8 +354,7 @@ static int hda_dbg_show(struct seq_file *s, void *data)
|
||||
hda_dbg_awg_microcode(s, hda->regs + HDA_SYNC_AWGI);
|
||||
if (hda->video_dacs_ctrl)
|
||||
hda_dbg_video_dacs_ctrl(s, hda->video_dacs_ctrl);
|
||||
seq_puts(s, "\n");
|
||||
|
||||
seq_putc(s, '\n');
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user