linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PM / devfreq: Fix the wrong end with semicolon
       [not found] <CGME20200727023342epcas1p3ec7e442440ead0762a67d244f20cf2fb@epcas1p3.samsung.com>
@ 2020-07-27  2:45 ` Chanwoo Choi
  0 siblings, 0 replies; only message in thread
From: Chanwoo Choi @ 2020-07-27  2:45 UTC (permalink / raw)
  To: linux-pm, linux-kernel
  Cc: cw00.choi, chanwoo, myungjoo.ham, kyungmin.park, stable

Fix the wrong grammar at the end of code line by using semicolon.

Cc: stable@vger.kernel.org
Fixes: 490a421bc575 ("PM / devfreq: Add debugfs support with devfreq_summary file")
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
---
It was my mistake using comma instead of semicolon. But, I don't know
why the build error was not caught. Anyway, I fix the wrong basic grammar.

 drivers/devfreq/devfreq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c
index 9d324ff87ee6..561d91b2d3bf 100644
--- a/drivers/devfreq/devfreq.c
+++ b/drivers/devfreq/devfreq.c
@@ -1800,9 +1800,9 @@ static int devfreq_summary_show(struct seq_file *s, void *data)
 #endif
 
 		mutex_lock(&devfreq->lock);
-		cur_freq = devfreq->previous_freq,
+		cur_freq = devfreq->previous_freq;
 		get_freq_range(devfreq, &min_freq, &max_freq);
-		polling_ms = devfreq->profile->polling_ms,
+		polling_ms = devfreq->profile->polling_ms;
 		mutex_unlock(&devfreq->lock);
 
 		seq_printf(s,
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-27  2:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20200727023342epcas1p3ec7e442440ead0762a67d244f20cf2fb@epcas1p3.samsung.com>
2020-07-27  2:45 ` [PATCH] PM / devfreq: Fix the wrong end with semicolon Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).