OSDN Git Service

hwmon: (iio_hwmon) Fix documentation of struct iio_hwmon_state
authorGuenter Roeck <linux@roeck-us.net>
Sun, 3 Dec 2017 23:22:26 +0000 (15:22 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 2 Jan 2018 23:05:34 +0000 (15:05 -0800)
Sparse reports:

drivers/hwmon/iio_hwmon.c:36: warning:
No description found for parameter 'groups'

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/iio_hwmon.c

index f6a7667..5e5b32a 100644 (file)
@@ -23,7 +23,8 @@
  * @channels:          filled with array of channels from iio
  * @num_channels:      number of channels in channels (saves counting twice)
  * @hwmon_dev:         associated hwmon device
- * @attr_group:        the group of attributes
+ * @attr_group:                the group of attributes
+ * @groups:            null terminated array of attribute groups
  * @attrs:             null terminated array of attribute pointers.
  */
 struct iio_hwmon_state {