sensor:mask some debug information
authorlw <lw@rock-chips.com>
Sun, 19 Aug 2012 11:48:54 +0000 (19:48 +0800)
committerlw <lw@rock-chips.com>
Sun, 19 Aug 2012 11:48:54 +0000 (19:48 +0800)
drivers/input/sensors/accel/kxtik.c
drivers/input/sensors/accel/lis3dh.c
drivers/input/sensors/accel/mma7660.c
drivers/input/sensors/accel/mma8452.c
drivers/input/sensors/compass/ak8975.c
drivers/input/sensors/gyro/l3g4200d.c
drivers/input/sensors/lsensor/cm3217.c [changed mode: 0644->0755]
drivers/input/sensors/lsensor/ls_al3006.c [changed mode: 0644->0755]
drivers/input/sensors/lsensor/ls_stk3171.c [changed mode: 0644->0755]
drivers/input/sensors/psensor/ps_al3006.c
drivers/input/sensors/psensor/ps_stk3171.c

index ac0eca4b950db0cd7855fb9a22103a3af7c4eb34..e4f2f2b5877a28aa8a01b2c7a714e4d41d12eb3b 100755 (executable)
@@ -247,7 +247,7 @@ static int __init gsensor_kxtik_init(void)
        int result = 0;
        int type = ops->type;
        result = sensor_register_slave(type, NULL, NULL, gsensor_get_ops);
-       printk("%s\n",__func__);
+       DBG("%s\n",__func__);
        return result;
 }
 
index 1ca48a8cece99a7bdae496dd1ab48aadde66863d..aae6e6e2c1981ffac41095ceeb82343423b24839 100755 (executable)
@@ -325,7 +325,7 @@ static int __init gsensor_lis3dh_init(void)
        int result = 0;
        int type = ops->type;
        result = sensor_register_slave(type, NULL, NULL, gsensor_get_ops);
-       printk("%s\n",__func__);
+       DBG("%s\n",__func__);
        return result;
 }
 
index cc72897b7d9adc95f1bfd01e6c5ddfb30e39ac62..6f789a464c84e6438cca6b70f1cdb4366bfcbf70 100755 (executable)
@@ -261,7 +261,7 @@ static int __init gsensor_mma7660_init(void)
        int result = 0;
        int type = ops->type;
        result = sensor_register_slave(type, NULL, NULL, gsensor_get_ops);      
-       printk("%s\n",__func__);
+       DBG("%s\n",__func__);
        return result;
 }
 
index 0264e5f009d2c5059d7cefb22019e2de22e5fc4d..e25e0022690eb3c38555b391435e44502ea322ba 100755 (executable)
@@ -288,7 +288,7 @@ static int __init gsensor_mma8452_init(void)
        int result = 0;
        int type = ops->type;
        result = sensor_register_slave(type, NULL, NULL, gsensor_get_ops);      
-       printk("%s\n",__func__);
+       DBG("%s\n",__func__);
        return result;
 }
 
index 3319618705ae4e1c10efa21ae1e866d3cb4ff034..3d2448f5893f5be8008b95980ee1bdf08175a48b 100755 (executable)
@@ -741,7 +741,7 @@ static int __init compass_akm8975_init(void)
        atomic_set(&open_flag, 0);              \r
        init_waitqueue_head(&open_wq);\r
                        \r
-       printk("%s\n",__func__);\r
+       DBG("%s\n",__func__);\r
 error:\r
        return result;\r
 }\r
index 03a0d264fe14f14f4413f83bc9f418526727633a..6d08849fa17dd465f01d86aa5a5042213f108676 100755 (executable)
@@ -246,7 +246,7 @@ static int __init gyro_l3g4200d_init(void)
        int result = 0;\r
        int type = ops->type;\r
        result = sensor_register_slave(type, NULL, NULL, gyro_get_ops);\r
-       printk("%s\n",__func__);\r
+       DBG("%s\n",__func__);\r
        return result;\r
 }\r
 \r
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 416df23..fb9b494
@@ -285,7 +285,7 @@ static int __init light_al3006_init(void)
        int result = 0;\r
        int type = ops->type;\r
        result = sensor_register_slave(type, NULL, NULL, light_get_ops);\r
-       printk("%s\n",__func__);\r
+       DBG("%s\n",__func__);\r
        return result;\r
 }\r
 \r
old mode 100644 (file)
new mode 100755 (executable)
index 7913b6f..4bac702
@@ -304,7 +304,7 @@ static int __init light_stk3171_init(void)
        int result = 0;\r
        int type = ops->type;\r
        result = sensor_register_slave(type, NULL, NULL, light_get_ops);\r
-       printk("%s\n",__func__);\r
+       DBG("%s\n",__func__);\r
        return result;\r
 }\r
 \r
index 83be85d6572ce1a400553d00be18b6bd627cbac9..631a3998c1b1bfe1c05434f0708de60bfe020eb6 100755 (executable)
@@ -246,7 +246,7 @@ static int __init proximity_al3006_init(void)
        int result = 0;\r
        int type = ops->type;\r
        result = sensor_register_slave(type, NULL, NULL, proximity_get_ops);\r
-       printk("%s\n",__func__);\r
+       DBG("%s\n",__func__);\r
        return result;\r
 }\r
 \r
index 431b8f7a90fadbd8f9c52bd4b61b62eecaa872f8..5b4c8e3880bd42a405cb48b21d57852c082aab32 100755 (executable)
@@ -252,7 +252,7 @@ static int __init proximity_stk3171_init(void)
        int result = 0;\r
        int type = ops->type;\r
        result = sensor_register_slave(type, NULL, NULL, proximity_get_ops);\r
-       printk("%s\n",__func__);\r
+       DBG("%s\n",__func__);\r
        return result;\r
 }\r
 \r