PM / devfreq: Fix the wrong end with semicolon
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 27 Jul 2020 02:32:31 +0000 (11:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Sep 2020 09:29:26 +0000 (11:29 +0200)
[ Upstream commit 27a69714450f5c9288cec2b20f1ae4f7ad34dacf ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/devfreq/devfreq.c

index 46c84dce6544a938a2812a2eec9e30740978a9d7..5f8d94e812c8fddf8667d73afffa72da7a9cee6e 100644 (file)
@@ -1690,9 +1690,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,