summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/adis16400_core.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2014-02-11 23:12:12 +0100
committerGreg Kroah-Hartman2014-02-11 23:12:12 +0100
commite5b9c0577206083c5bc501f8b77554dc7a5e6388 (patch)
tree1bf59db885f6ff7b17129020fb3a7600964bb6b0 /drivers/iio/imu/adis16400_core.c
parentstaging: sbe-2t3e3: Fix possible reuse of freed memory in timer function (diff)
parentiio: imu: inv_mpu6050: Fix typo and formatting (diff)
downloadkernel-qcow2-linux-e5b9c0577206083c5bc501f8b77554dc7a5e6388.tar.gz
kernel-qcow2-linux-e5b9c0577206083c5bc501f8b77554dc7a5e6388.tar.xz
kernel-qcow2-linux-e5b9c0577206083c5bc501f8b77554dc7a5e6388.zip
Merge tag 'iio-for-3.15a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
Jonathan writes: First set of new drivers and cleanups for IIO in the 3.15 cycle. New drivers: * si7005 relative humidity and temperature sensor * Lite-on ltr501 ambient light and proximity sensor Cleanups * Clean up some dead comments in max1363 * Drop some obsolete variables in adjd_s311 and tcs3472 left over from the introduction of iio_push_to_buffers_with_timestamp. * Drop some unneeded linux/init.h includes * Squish a sparse warning in mpl3115 by correctly specifying a be32 variable. * A number of cleanups and fixes for sca3000 * Drop an unneed checks in mxs-lradc, ad7303 and adis16400. * Drop a platform_set_drvdata in viperboard after the only use of it was removed during a devm conversion. * Add a missing device name for ak8975 to comply with the ABI. * Put mpu6050 into the IMU menu as it slipped out into the main menu. * Fix a typo and some comment formatting in mpu6050. * Document at91 ADC clock properties.
Diffstat (limited to 'drivers/iio/imu/adis16400_core.c')
-rw-r--r--drivers/iio/imu/adis16400_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/adis16400_core.c b/drivers/iio/imu/adis16400_core.c
index 7c582f7ae34e..433583b6f800 100644
--- a/drivers/iio/imu/adis16400_core.c
+++ b/drivers/iio/imu/adis16400_core.c
@@ -281,7 +281,7 @@ static ssize_t adis16400_write_frequency(struct device *dev,
st->variant->set_freq(st, val);
mutex_unlock(&indio_dev->mlock);
- return ret ? ret : len;
+ return len;
}
/* Power down the device */