diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2014-12-23 08:22:31 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-01-05 13:59:55 -0500 |
commit | ea04d2965874ca5753e756b335449c5322a85733 (patch) | |
tree | 4dab2956f8f37e923e78d9ceb57efe4ccfea6f59 /drivers/iio/imu | |
parent | dbdd0e2dd9981eafe33687d0b2d089c5285ea22b (diff) |
iio: imu: kmx61: Remove unnecessary REG_INS1 read
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>
Diffstat (limited to 'drivers/iio/imu')
-rw-r--r-- | drivers/iio/imu/kmx61.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c index 578e3dd944c9..1f7c3f1f4dfd 100644 --- a/drivers/iio/imu/kmx61.c +++ b/drivers/iio/imu/kmx61.c | |||
@@ -1192,8 +1192,6 @@ ack_intr: | |||
1192 | if (ret < 0) | 1192 | if (ret < 0) |
1193 | dev_err(&data->client->dev, "Error reading reg_inl\n"); | 1193 | dev_err(&data->client->dev, "Error reading reg_inl\n"); |
1194 | 1194 | ||
1195 | ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INS1); | ||
1196 | |||
1197 | return IRQ_HANDLED; | 1195 | return IRQ_HANDLED; |
1198 | } | 1196 | } |
1199 | 1197 | ||