iio: imu: inv_mpu6050: inform the i2c mux core about how it is used
authorPeter Rosin <peda@axentia.se>
Wed, 31 Aug 2016 08:02:40 +0000 (10:02 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 12 Nov 2016 14:44:45 +0000 (14:44 +0000)
commit08f3ffce6e8068577b75d8aa3b35a1b8a0c9eb22
tree206caff28734bb66858013097de6cb24e373b899
parent6c02e33facff34b95b6d67a182b9a0a0b51fabf8
iio: imu: inv_mpu6050: inform the i2c mux core about how it is used

The i2c mux core can then take appropriate action depending on if it is
used for an actual i2c mux, or for an arbitrator or gate. In this case
it is used as a gate.

This will make devicetree bindings simpler when they are eventually
added.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c