iio: imu: inv_mpu6050: Fix Yoda conditions
authorDaniel Baluta <daniel.baluta@intel.com>
Thu, 18 Feb 2016 15:53:07 +0000 (17:53 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 24 Feb 2016 20:40:42 +0000 (20:40 +0000)
commitacf7146ec9700bb71115cf1374954fe1709b6b19
tree99cc6256f6f5425e7726aa0f587d82ab2be85018
parent23c5edccbfc6a170188c40ef8a14256715236b85
iio: imu: inv_mpu6050: Fix Yoda conditions

This fixes the following checkpatch warning:
* WARNING: Comparisons should place the constant
  on the right side of the test

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Acked-by: Crt Mori <cmo@melexis.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c