iio: imu: inv_mpu6050: use i2c mux only for chip with i2c aux bus
authorJean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Mon, 30 Apr 2018 10:14:08 +0000 (12:14 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 May 2018 16:48:28 +0000 (17:48 +0100)
commit3b37c41f0e56aff080d7a5a7f2adae34faa5a325
tree65e4b95413c686f9bdb0f55ee67424ce9287ff48
parentb3e5c2bda9117eda51e916b14fadb916f1501aaf
iio: imu: inv_mpu6050: use i2c mux only for chip with i2c aux bus

icm20608 does not have i2c aux bus, so it does not make sense to
allocate an i2c mux for this chip.

Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c