Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1627193
| From | SF Markus Elfring <elfring@users.sourceforge.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/8] clk: Combine two seq_puts() calls into one call in clk_summary_show() |
| Date | 2017-04-20 10:30 +0200 |
| Message-ID | <tyfDs-6zX-13@gated-at.bofh.it> (permalink) |
| References | <tyfDr-6zX-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Markus Elfring <elfring@users.sourceforge.net> Date: Thu, 20 Apr 2017 09:12:35 +0200 Some text was put into a sequence by two separate function calls. Print the same data by a single function call instead. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> --- drivers/clk/clk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 4c72a10a9a33..684642ab4212 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -2030,9 +2030,9 @@ static int clk_summary_show(struct seq_file *s, void *data) struct clk_core *c; struct hlist_head **lists = (struct hlist_head **)s->private; - seq_puts(s, " clock enable_cnt prepare_cnt rate accuracy phase\n"); - seq_puts(s, "----------------------------------------------------------------------------------------\n"); - + seq_puts(s, + " clock enable_cnt prepare_cnt rate accuracy phase\n" + "----------------------------------------------------------------------------------------\n"); clk_prepare_lock(); for (; *lists; lists++) -- 2.12.2
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 5/8] clk: Combine two seq_puts() calls into one call in clk_summary_show() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-04-20 10:30 +0200
csiph-web