Commit ea04d296 authored by Daniel Baluta's avatar Daniel Baluta Committed by Jonathan Cameron

iio: imu: kmx61: Remove unnecessary REG_INS1 read

Useful in the debugging phase, not needed now.
Signed-off-by: default avatarDaniel Baluta <daniel.baluta@intel.com>
Acked-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent dbdd0e2d
......@@ -1192,8 +1192,6 @@ static irqreturn_t kmx61_event_handler(int irq, void *private)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment