From 657f896688f1802776c34c34a30145ad1b6490f0 Mon Sep 17 00:00:00 2001 From: Shreshtha SAHU Date: Wed, 15 Jul 2015 16:09:22 +0530 Subject: driver: therm_fan_est: lower message log level Lower log level of printing temperature and trip index on each change from info to debug. Bug 200102334 Change-Id: I326091f44cec53f10acdca850c1afde1d11b0a4a Signed-off-by: Shreshtha SAHU Reviewed-on: http://git-master/r/770441 (cherry picked from commit 60e6b02a9bccc8ece59d9272de42ce9f4fb710eb) Reviewed-on: http://git-master/r/781106 (cherry picked from commit 2726f92c4995b405d2d723c2e257a829873d7f19) Reviewed-on: http://git-master/r/783523 --- drivers/misc/therm_fan_est.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/misc') diff --git a/drivers/misc/therm_fan_est.c b/drivers/misc/therm_fan_est.c index e0fdb0848..73fae60ab 100644 --- a/drivers/misc/therm_fan_est.c +++ b/drivers/misc/therm_fan_est.c @@ -107,7 +107,7 @@ static void therm_fan_est_work_func(struct work_struct *work) if (!((trip_index - 1) % 2) || (!est->current_trip_index) || ((trip_index - est->current_trip_index) >= 2) || ((trip_index - est->current_trip_index) <= -2)) { - pr_info("%s, cur_temp:%ld, cur_trip_index:%d\n", + pr_debug("%s, cur_temp:%ld, cur_trip_index:%d\n", __func__, est->cur_temp, est->current_trip_index); thermal_zone_device_update(est->thz); } @@ -635,7 +635,7 @@ static int therm_fan_est_suspend(struct platform_device *pdev, if (!est) return -EINVAL; - pr_info("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp); + pr_debug("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp); cancel_delayed_work(&est->therm_fan_est_work); est->current_trip_index = 0; @@ -648,7 +648,7 @@ static int therm_fan_est_resume(struct platform_device *pdev) if (!est) return -EINVAL; - pr_info("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp); + pr_debug("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp); queue_delayed_work(est->workqueue, &est->therm_fan_est_work, -- cgit v1.2.2