projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ba8b6
)
sensor:close mma7660 debug info
author
luowei
<lw@rock-chips.com>
Sun, 7 Oct 2012 09:07:17 +0000
(17:07 +0800)
committer
luowei
<lw@rock-chips.com>
Sun, 7 Oct 2012 09:07:17 +0000
(17:07 +0800)
drivers/input/sensors/accel/mma7660.c
patch
|
blob
|
history
diff --git
a/drivers/input/sensors/accel/mma7660.c
b/drivers/input/sensors/accel/mma7660.c
index 6238549d1ac625b384001e3f2cc08d2e73136d2d..ea05e4b74355787dfd1441e2227f5e3635b3b8b4 100755
(executable)
--- a/
drivers/input/sensors/accel/mma7660.c
+++ b/
drivers/input/sensors/accel/mma7660.c
@@
-235,7
+235,7
@@
static int sensor_report_value(struct i2c_client *client)
axis.y = axis_average.y_average / axis_average.count;
axis.z = axis_average.z_average / axis_average.count;
-
printk
( "%s: axis = %d %d %d \n", __func__, axis.x, axis.y, axis.z);
+
DBG
( "%s: axis = %d %d %d \n", __func__, axis.x, axis.y, axis.z);
memset(&axis_average, 0, sizeof(struct sensor_axis_average));