diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-05-05 15:00:46 +0200 |
---|---|---|
committer | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2017-05-09 14:45:51 +0200 |
commit | e9635133d47b9c685bbb69c5e4a63408109d140f (patch) | |
tree | 718ba7347fe8d2fb61710c9ae9bcef00940eb6ad /drivers/gpu/drm/sti/sti_hda.c | |
parent | ecf79d15c7aa6ea4c22d6e9278eea92359bfa94a (diff) | |
download | lwn-e9635133d47b9c685bbb69c5e4a63408109d140f.tar.gz lwn-e9635133d47b9c685bbb69c5e4a63408109d140f.zip |
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
Diffstat (limited to 'drivers/gpu/drm/sti/sti_hda.c')
-rw-r--r-- | drivers/gpu/drm/sti/sti_hda.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c index e3475a17eaeb..d6ed909d9d75 100644 --- a/drivers/gpu/drm/sti/sti_hda.c +++ b/drivers/gpu/drm/sti/sti_hda.c @@ -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; } |