commit | e9635133d47b9c685bbb69c5e4a63408109d140f | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Fri May 05 15:00:46 2017 +0200 |
committer | Benjamin Gaignard <benjamin.gaignard@linaro.org> | Tue May 09 14:45:51 2017 +0200 |
tree | 718ba7347fe8d2fb61710c9ae9bcef00940eb6ad | |
parent | ecf79d15c7aa6ea4c22d6e9278eea92359bfa94a [diff] [blame] |
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
diff --git a/drivers/gpu/drm/sti/sti_cursor.c b/drivers/gpu/drm/sti/sti_cursor.c index cca75bd..cd35b9d 100644 --- a/drivers/gpu/drm/sti/sti_cursor.c +++ b/drivers/gpu/drm/sti/sti_cursor.c
@@ -121,8 +121,7 @@ cursor_dbg_cml(s, cursor, readl(cursor->regs + CUR_CML)); DBGFS_DUMP(CUR_AWS); DBGFS_DUMP(CUR_AWE); - seq_puts(s, "\n"); - + seq_putc(s, '\n'); return 0; }