From 486c7667947a9c1d2a807572847b20a46fe9bd02 Mon Sep 17 00:00:00 2001 From: lw Date: Sun, 19 Aug 2012 19:48:54 +0800 Subject: [PATCH] sensor:mask some debug information --- drivers/input/sensors/accel/kxtik.c | 2 +- drivers/input/sensors/accel/lis3dh.c | 2 +- drivers/input/sensors/accel/mma7660.c | 2 +- drivers/input/sensors/accel/mma8452.c | 2 +- drivers/input/sensors/compass/ak8975.c | 2 +- drivers/input/sensors/gyro/l3g4200d.c | 2 +- drivers/input/sensors/lsensor/cm3217.c | 0 drivers/input/sensors/lsensor/ls_al3006.c | 2 +- drivers/input/sensors/lsensor/ls_stk3171.c | 2 +- drivers/input/sensors/psensor/ps_al3006.c | 2 +- drivers/input/sensors/psensor/ps_stk3171.c | 2 +- 11 files changed, 10 insertions(+), 10 deletions(-) mode change 100644 => 100755 drivers/input/sensors/lsensor/cm3217.c mode change 100644 => 100755 drivers/input/sensors/lsensor/ls_al3006.c mode change 100644 => 100755 drivers/input/sensors/lsensor/ls_stk3171.c diff --git a/drivers/input/sensors/accel/kxtik.c b/drivers/input/sensors/accel/kxtik.c index ac0eca4b950d..e4f2f2b5877a 100755 --- a/drivers/input/sensors/accel/kxtik.c +++ b/drivers/input/sensors/accel/kxtik.c @@ -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; } diff --git a/drivers/input/sensors/accel/lis3dh.c b/drivers/input/sensors/accel/lis3dh.c index 1ca48a8cece9..aae6e6e2c198 100755 --- a/drivers/input/sensors/accel/lis3dh.c +++ b/drivers/input/sensors/accel/lis3dh.c @@ -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; } diff --git a/drivers/input/sensors/accel/mma7660.c b/drivers/input/sensors/accel/mma7660.c index cc72897b7d9a..6f789a464c84 100755 --- a/drivers/input/sensors/accel/mma7660.c +++ b/drivers/input/sensors/accel/mma7660.c @@ -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; } diff --git a/drivers/input/sensors/accel/mma8452.c b/drivers/input/sensors/accel/mma8452.c index 0264e5f009d2..e25e0022690e 100755 --- a/drivers/input/sensors/accel/mma8452.c +++ b/drivers/input/sensors/accel/mma8452.c @@ -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; } diff --git a/drivers/input/sensors/compass/ak8975.c b/drivers/input/sensors/compass/ak8975.c index 3319618705ae..3d2448f5893f 100755 --- a/drivers/input/sensors/compass/ak8975.c +++ b/drivers/input/sensors/compass/ak8975.c @@ -741,7 +741,7 @@ static int __init compass_akm8975_init(void) atomic_set(&open_flag, 0); init_waitqueue_head(&open_wq); - printk("%s\n",__func__); + DBG("%s\n",__func__); error: return result; } diff --git a/drivers/input/sensors/gyro/l3g4200d.c b/drivers/input/sensors/gyro/l3g4200d.c index 03a0d264fe14..6d08849fa17d 100755 --- a/drivers/input/sensors/gyro/l3g4200d.c +++ b/drivers/input/sensors/gyro/l3g4200d.c @@ -246,7 +246,7 @@ static int __init gyro_l3g4200d_init(void) int result = 0; int type = ops->type; result = sensor_register_slave(type, NULL, NULL, gyro_get_ops); - printk("%s\n",__func__); + DBG("%s\n",__func__); return result; } diff --git a/drivers/input/sensors/lsensor/cm3217.c b/drivers/input/sensors/lsensor/cm3217.c old mode 100644 new mode 100755 diff --git a/drivers/input/sensors/lsensor/ls_al3006.c b/drivers/input/sensors/lsensor/ls_al3006.c old mode 100644 new mode 100755 index 416df23002b4..fb9b4940381a --- a/drivers/input/sensors/lsensor/ls_al3006.c +++ b/drivers/input/sensors/lsensor/ls_al3006.c @@ -285,7 +285,7 @@ static int __init light_al3006_init(void) int result = 0; int type = ops->type; result = sensor_register_slave(type, NULL, NULL, light_get_ops); - printk("%s\n",__func__); + DBG("%s\n",__func__); return result; } diff --git a/drivers/input/sensors/lsensor/ls_stk3171.c b/drivers/input/sensors/lsensor/ls_stk3171.c old mode 100644 new mode 100755 index 7913b6fa0244..4bac702323d2 --- a/drivers/input/sensors/lsensor/ls_stk3171.c +++ b/drivers/input/sensors/lsensor/ls_stk3171.c @@ -304,7 +304,7 @@ static int __init light_stk3171_init(void) int result = 0; int type = ops->type; result = sensor_register_slave(type, NULL, NULL, light_get_ops); - printk("%s\n",__func__); + DBG("%s\n",__func__); return result; } diff --git a/drivers/input/sensors/psensor/ps_al3006.c b/drivers/input/sensors/psensor/ps_al3006.c index 83be85d6572c..631a3998c1b1 100755 --- a/drivers/input/sensors/psensor/ps_al3006.c +++ b/drivers/input/sensors/psensor/ps_al3006.c @@ -246,7 +246,7 @@ static int __init proximity_al3006_init(void) int result = 0; int type = ops->type; result = sensor_register_slave(type, NULL, NULL, proximity_get_ops); - printk("%s\n",__func__); + DBG("%s\n",__func__); return result; } diff --git a/drivers/input/sensors/psensor/ps_stk3171.c b/drivers/input/sensors/psensor/ps_stk3171.c index 431b8f7a90fa..5b4c8e3880bd 100755 --- a/drivers/input/sensors/psensor/ps_stk3171.c +++ b/drivers/input/sensors/psensor/ps_stk3171.c @@ -252,7 +252,7 @@ static int __init proximity_stk3171_init(void) int result = 0; int type = ops->type; result = sensor_register_slave(type, NULL, NULL, proximity_get_ops); - printk("%s\n",__func__); + DBG("%s\n",__func__); return result; } -- 2.34.1