]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00162231 [Thermal]Remove unnecessary message
authorAnson Huang <b20788@freescale.com>
Tue, 15 Nov 2011 10:18:48 +0000 (18:18 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:02 +0000 (14:10 +0200)
Remove unnecessary message.

Signed-off-by: Anson Huang <b20788@freescale.com>
drivers/mxc/thermal/cooling.c
drivers/mxc/thermal/thermal.c

index 7663280f6265f8228cdbc62c6c52c54ef16eacc3..5a92b527e1ec6b99d323b9187951f2b60ed4d95c 100644 (file)
@@ -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;
index 963c0c9f78494afa071d343cf47c6054067add8f..bf207f851ab00bd8d4bf239e5d9b8f53f0056325 100644 (file)
@@ -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;