v3 As suggested by Wolfram, removed inv_mpu6050_create_mux and inv_mpu6050_destroy_mux and moved the contents to their caller. v2 Addressed comments from Wolfram - Added reference of discussion for adding this mode to commit message to explain the purpose - Removed static mux variable - Removed exported interface to add i2c client on the i2c mux comments by Hartmut - Unregister iio device if there is a failure Removed ak8975 change from series still this patch is accepted. v1 Some minor formatting fix mostly suggested by Hartmut fail probe if mux create fails function parameter type matching i2c struct v0 base version Srinivas Pandruvada (1): iio: imu: inv_mpu6050: Add i2c mux for by pass drivers/iio/imu/inv_mpu6050/Kconfig | 1 + drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 115 +++++++++++++++++++++++++++-- drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 6 ++ 3 files changed, 116 insertions(+), 6 deletions(-) -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html