aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/iio/gyro/adxrs450_core.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/staging/iio/gyro/adxrs450_core.c b/drivers/staging/iio/gyro/adxrs450_core.c
index 4115fe145137..714e3239d5d6 100644
--- a/drivers/staging/iio/gyro/adxrs450_core.c
+++ b/drivers/staging/iio/gyro/adxrs450_core.c
@@ -25,7 +25,7 @@
25 25
26/** 26/**
27 * adxrs450_spi_read_reg_16() - read 2 bytes from a register pair 27 * adxrs450_spi_read_reg_16() - read 2 bytes from a register pair
28 * @dev: device associated with child of actual iio_dev 28 * @indio_dev: device associated with child of actual iio_dev
29 * @reg_address: the address of the lower of the two registers, which should be 29 * @reg_address: the address of the lower of the two registers, which should be
30 * an even address, the second register's address is reg_address + 1. 30 * an even address, the second register's address is reg_address + 1.
31 * @val: somewhere to pass back the value read 31 * @val: somewhere to pass back the value read
@@ -77,7 +77,7 @@ error_ret:
77 77
78/** 78/**
79 * adxrs450_spi_write_reg_16() - write 2 bytes data to a register pair 79 * adxrs450_spi_write_reg_16() - write 2 bytes data to a register pair
80 * @dev: device associated with child of actual actual iio_dev 80 * @indio_dev: device associated with child of actual actual iio_dev
81 * @reg_address: the address of the lower of the two registers,which should be 81 * @reg_address: the address of the lower of the two registers,which should be
82 * an even address, the second register's address is reg_address + 1. 82 * an even address, the second register's address is reg_address + 1.
83 * @val: value to be written. 83 * @val: value to be written.
@@ -108,7 +108,7 @@ static int adxrs450_spi_write_reg_16(struct iio_dev *indio_dev,
108 108
109/** 109/**
110 * adxrs450_spi_sensor_data() - read 2 bytes sensor data 110 * adxrs450_spi_sensor_data() - read 2 bytes sensor data
111 * @dev: device associated with child of actual iio_dev 111 * @indio_dev: device associated with child of actual iio_dev
112 * @val: somewhere to pass back the value read 112 * @val: somewhere to pass back the value read
113 **/ 113 **/
114static int adxrs450_spi_sensor_data(struct iio_dev *indio_dev, s16 *val) 114static int adxrs450_spi_sensor_data(struct iio_dev *indio_dev, s16 *val)
@@ -152,6 +152,7 @@ error_ret:
152 * adxrs450_spi_initial() - use for initializing procedure. 152 * adxrs450_spi_initial() - use for initializing procedure.
153 * @st: device instance specific data 153 * @st: device instance specific data
154 * @val: somewhere to pass back the value read 154 * @val: somewhere to pass back the value read
155 * @chk: Whether to perform fault check
155 **/ 156 **/
156static int adxrs450_spi_initial(struct adxrs450_state *st, 157static int adxrs450_spi_initial(struct adxrs450_state *st,
157 u32 *val, char chk) 158 u32 *val, char chk)