diff options
author | Anson Huang <b20788@freescale.com> | 2011-11-15 18:18:48 +0800 |
---|---|---|
committer | Anson Huang <b20788@freescale.com> | 2011-11-15 18:29:32 +0800 |
commit | 1773a497acd7d9628857627bb5247c0049f0ed3e (patch) | |
tree | 626cb7c562942bd67493a8536c6688691712d0c2 | |
parent | 663a592601ba7d5bdf96f8d8d8be97df94adab09 (diff) |
ENGR00162231 [Thermal]Remove unnecessary message
Remove unnecessary message.
Signed-off-by: Anson Huang <b20788@freescale.com>
-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; |