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>
This commit is contained in:
parent
dbdd0e2dd9
commit
ea04d29658
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue