p977: 1.tp: set int ct363_first_init_flag to static int.
author郭毅 <gy@rock-chips.com>
Mon, 21 Apr 2014 06:09:41 +0000 (14:09 +0800)
committer郭毅 <gy@rock-chips.com>
Mon, 21 Apr 2014 06:17:29 +0000 (14:17 +0800)
      2. 5v_en: move unnecessary log

drivers/input/touchscreen/ct36x/ct363.c
drivers/misc/5v_en.c

index 65ebfb5783f576bc9597ded948ac72041bd39ad8..5b57be34f31213dd2962b7bd18070150aba556f8 100755 (executable)
@@ -133,7 +133,7 @@ static void ct363_deinit(struct ct36x_data *ts)
        return;
 }
 
-int ct363_first_init_flag = 1;
+static int ct363_first_init_flag = 1;
 static int ct363_suspend(struct ct36x_data *ts)
 {
        int ret = 0;
index b8d282eeafd71bf103f364cb0937aaf5089bdc61..d8dc49b9ea77a1ebae45c1abe1485b75406b4ba2 100644 (file)
@@ -29,7 +29,7 @@ static int five_v_en_probe(struct platform_device *pdev)
         int ret;
         int en_value;
 
-        printk("func: %s\n", __func__); 
+        //printk("func: %s\n", __func__); 
         if (!node)
                 return -ENODEV;
 
@@ -49,26 +49,26 @@ static int five_v_en_probe(struct platform_device *pdev)
        }
        gpio_direction_output(gpio, en_value);
 
-        printk("func: %s\n", __func__); 
+        //printk("func: %s\n", __func__); 
         return 0;
 }
 
 static int five_v_en_remove(struct platform_device *pdev)
 {
-        printk("func: %s\n", __func__); 
+        //printk("func: %s\n", __func__); 
        return 0;
 }
 
 #ifdef CONFIG_PM_SLEEP
 static int five_v_en_suspend(struct device *dev)
 {
-        printk("func: %s\n", __func__); 
+        //printk("func: %s\n", __func__); 
        return 0;
 }
 
 static int five_v_en_resume(struct device *dev)
 {
-        printk("func: %s\n", __func__); 
+        //printk("func: %s\n", __func__); 
        return 0;
 }
 #endif