diff options
author | Anson Huang <b20788@freescale.com> | 2011-11-15 18:18:48 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:17:50 +0800 |
commit | 9b381900a4de89972351ced653292e310e186a69 (patch) | |
tree | 1c3bb8b35fb3aa6e2cf39f507c20bbe062e57a83 /drivers/mxc | |
parent | 6ab147fa064569e802bbda672fed93593deb10d0 (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; |