summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorsimran singhal <singhalsimran0@gmail.com>2017-03-31 13:21:43 +0300
committerJonathan Cameron <jic23@kernel.org>2017-04-02 11:10:32 +0300
commit5a70925b16f2ad3d68dd6ecc469c9507d9a18e6a (patch)
treec5c41672880ebd9a49ed4301e715aa4b454e310a /drivers
parent98b6d2b6764d75e386ce3236d771a7624a645e07 (diff)
downloadlinux-5a70925b16f2ad3d68dd6ecc469c9507d9a18e6a.tar.xz
iio: gyro: adis16060: Change the name of function.
Change the name of function from adis16060_spi_write_than_read() to adis16060_spi_write_then_read(). change "than" to "then" as its time depended. Signed-off-by: simran singhal <singhalsimran0@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/iio/gyro/adis16060_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/gyro/adis16060_core.c b/drivers/staging/iio/gyro/adis16060_core.c
index 811596234823..967524583d8a 100644
--- a/drivers/staging/iio/gyro/adis16060_core.c
+++ b/drivers/staging/iio/gyro/adis16060_core.c
@@ -40,7 +40,7 @@ struct adis16060_state {
static struct iio_dev *adis16060_iio_dev;
-static int adis16060_spi_write_than_read(struct iio_dev *indio_dev,
+static int adis16060_spi_write_then_read(struct iio_dev *indio_dev,
u8 conf, u16 *val)
{
int ret;
@@ -81,7 +81,7 @@ static int adis16060_read_raw(struct iio_dev *indio_dev,
switch (mask) {
case IIO_CHAN_INFO_RAW:
- ret = adis16060_spi_write_than_read(indio_dev,
+ ret = adis16060_spi_write_then_read(indio_dev,
chan->address, &tval);
if (ret < 0)
return ret;