]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging:iio:adc:max1363 make docs match the contents of max1363_chip_info
authorJonathan Cameron <jic23@kernel.org>
Sat, 6 Oct 2012 13:37:44 +0000 (14:37 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 10 Nov 2012 10:17:29 +0000 (10:17 +0000)
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/max1363.c

index dbfdc3938064808deff594c73613d930603c9b54..321775327b26a5b441b77327dfdc67b0828fb966 100644 (file)
@@ -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;