diff options
author | Anson Huang <b20788@freescale.com> | 2011-11-15 18:18:48 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 21:06:42 +0800 |
commit | 18786dbec6af4cabb1e1a085bc2eacb2ebd28c56 (patch) | |
tree | 4b32b2f775be674d40269eb702e397f2c0ca29ce /drivers/mxc | |
parent | f396b37408d037bc8e0f5e29ef97f25cba9a6d71 (diff) |
ENGR00162231 [Thermal]Remove unnecessary message
Remove unnecessary message.
Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'drivers/mxc')
-rw-r--r-- | drivers/mxc/thermal/cooling.c | 6 | ||||
-rw-r--r-- | drivers/mxc/thermal/thermal.c | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/drivers/mxc/thermal/cooling.c b/drivers/mxc/thermal/cooling.c index 7663280f6265..5a92b527e1ec 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 963c0c9f7849..bf207f851ab0 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; |