Skip to content

Commit

Permalink
iio: gyro: adis16060: Change the name of function.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
  • Loading branch information
simransinghal authored and jic23 committed Apr 2, 2017
1 parent 98b6d2b commit 5a70925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/iio/gyro/adis16060_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 5a70925

Please sign in to comment.