projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbdd0e2
)
iio: imu: kmx61: Remove unnecessary REG_INS1 read
author
Daniel Baluta
<daniel.baluta@intel.com>
Tue, 23 Dec 2014 13:22:31 +0000
(15:22 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Mon, 5 Jan 2015 18:59:55 +0000
(18:59 +0000)
Useful in the debugging phase, not needed now.
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/kmx61.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/imu/kmx61.c
b/drivers/iio/imu/kmx61.c
index 578e3dd944c9d3173f0824d97b9ac629f76f7105..1f7c3f1f4dfddb8d9a7b522a4502aa2d245b45e1 100644
(file)
--- a/
drivers/iio/imu/kmx61.c
+++ b/
drivers/iio/imu/kmx61.c
@@
-1192,8
+1192,6
@@
ack_intr:
if (ret < 0)
dev_err(&data->client->dev, "Error reading reg_inl\n");
- ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INS1);
-
return IRQ_HANDLED;
}