aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2011-11-15 18:18:48 +0800
committerEric Miao <eric.miao@linaro.org>2011-12-01 11:36:34 +0800
commit014e8d0184878426344e007db97b34a6583e52a6 (patch)
tree4897de3141194ae35ac72c7f5b0db6500d175fe6
parentcad726f4538f7d4dd6771221184911bc2aa381e5 (diff)
ENGR00162231 [Thermal]Remove unnecessary message
Remove unnecessary message. Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r--drivers/mxc/thermal/cooling.c6
-rw-r--r--drivers/mxc/thermal/thermal.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/drivers/mxc/thermal/cooling.c b/drivers/mxc/thermal/cooling.c
index 7663280f626..5a92b527e1e 100644
--- a/drivers/mxc/thermal/cooling.c
+++ b/drivers/mxc/thermal/cooling.c
@@ -242,8 +242,7 @@ imx_processor_set_cur_state(struct thermal_cooling_device *cdev,
break;
}
}
- } else
- printk(KERN_DEBUG "Temperature is about to reach hot point!\n");
+ }
} else {
if (!state) {
if (cpufreq_change_count < 0)
@@ -251,8 +250,7 @@ imx_processor_set_cur_state(struct thermal_cooling_device *cdev,
else if (cpufreq_change_count > 0)
anatop_thermal_cpufreq_down();
temperature_cooling = 0;
- } else
- printk(KERN_DEBUG "Temperature is about to reach hot point!\n");
+ }
}
return result;
diff --git a/drivers/mxc/thermal/thermal.c b/drivers/mxc/thermal/thermal.c
index 963c0c9f784..bf207f851ab 100644
--- a/drivers/mxc/thermal/thermal.c
+++ b/drivers/mxc/thermal/thermal.c
@@ -807,11 +807,11 @@ static int anatop_thermal_get_calibration_data(unsigned int *fuse)
return ret;
sys_read(fd, fuse_data, sizeof(fuse_data));
- pr_info("Thermal: fuse data %s\n", fuse_data);
sys_close(fd);
ret = 0;
*fuse = simple_strtol(fuse_data, NULL, 0);
+ pr_info("Thermal: fuse data 0x%x\n", *fuse);
anatop_thermal_counting_ratio(*fuse);
return ret;