Linux-PM Archive on lore.kernel.org
 help / color / Atom feed
* [RESEND,v2] cpufreq: s5pv210: Don't flood kernel log after cpufreq change
@ 2019-06-21 10:10 Paweł Chmiel
  2019-06-24  4:57 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Paweł Chmiel @ 2019-06-21 10:10 UTC (permalink / raw)
  To: kgene
  Cc: krzk, rjw, viresh.kumar, linux-arm-kernel, linux-samsung-soc,
	linux-pm, linux-kernel

This commit replaces printk with pr_debug, so we don't flood kernel log.

Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
---
Changes from v1:
  - Added Acked-by
---
 drivers/cpufreq/s5pv210-cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c
index 5b4289460bc9..c7b7d1e65b08 100644
--- a/drivers/cpufreq/s5pv210-cpufreq.c
+++ b/drivers/cpufreq/s5pv210-cpufreq.c
@@ -481,7 +481,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 				arm_volt, arm_volt_max);
 	}
 
-	printk(KERN_DEBUG "Perf changed[L%d]\n", index);
+	pr_debug("Perf changed[L%d]\n", index);
 
 exit:
 	mutex_unlock(&set_freq_lock);
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RESEND,v2] cpufreq: s5pv210: Don't flood kernel log after cpufreq change
  2019-06-21 10:10 [RESEND,v2] cpufreq: s5pv210: Don't flood kernel log after cpufreq change Paweł Chmiel
@ 2019-06-24  4:57 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2019-06-24  4:57 UTC (permalink / raw)
  To: Paweł Chmiel
  Cc: kgene, krzk, rjw, linux-arm-kernel, linux-samsung-soc, linux-pm,
	linux-kernel

On 21-06-19, 12:10, Paweł Chmiel wrote:
> This commit replaces printk with pr_debug, so we don't flood kernel log.
> 
> Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
> Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> Changes from v1:
>   - Added Acked-by
> ---
>  drivers/cpufreq/s5pv210-cpufreq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied. Thanks.

-- 
viresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-21 10:10 [RESEND,v2] cpufreq: s5pv210: Don't flood kernel log after cpufreq change Paweł Chmiel
2019-06-24  4:57 ` Viresh Kumar

Linux-PM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-pm/0 linux-pm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-pm linux-pm/ https://lore.kernel.org/linux-pm \
		linux-pm@vger.kernel.org linux-pm@archiver.kernel.org
	public-inbox-index linux-pm


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-pm


AGPL code for this site: git clone https://public-inbox.org/ public-inbox