summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2012-10-06 14:37:44 +0100
committerJonathan Cameron <jic23@kernel.org>2012-11-10 10:17:29 +0000
commit2593b13a622ae99c2c7d6d8c869b59383ab70697 (patch)
tree37200e359770d5c51225fa8269f6dd3b96069b76 /drivers
parentec44372865c0ab9dd7d816ab9734463bdb8c20d1 (diff)
staging:iio:adc:max1363 make docs match the contents of max1363_chip_info
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/iio/adc/max1363.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/staging/iio/adc/max1363.c b/drivers/staging/iio/adc/max1363.c
index dbfdc3938064..321775327b26 100644
--- a/drivers/staging/iio/adc/max1363.c
+++ b/drivers/staging/iio/adc/max1363.c
@@ -127,20 +127,19 @@ enum max1363_modes {
/**
* struct max1363_chip_info - chip specifc information
- * @name: indentification string for chip
- * @bits: accuracy of the adc in bits
- * @int_vref_mv: the internal reference voltage
* @info: iio core function callbacks structure
+ * @channels: channel specification
+ * @num_channels: number of channels
* @mode_list: array of available scan modes
- * @num_modes: the number of scan modes available
* @default_mode: the scan mode in which the chip starts up
- * @channel: channel specification
+ * @int_vref_mv: the internal reference voltage
* @num_channels: number of channels
+ * @bits: accuracy of the adc in bits
*/
struct max1363_chip_info {
const struct iio_info *info;
- const struct iio_chan_spec *channels;
- int num_channels;
+ const struct iio_chan_spec *channels;
+ int num_channels;
const enum max1363_modes *mode_list;
enum max1363_modes default_mode;
u16 int_vref_mv;