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 f6a76679c6500c9c21b60b440c8c1539512cd582..5e5b32a1ec4b7e3480cf4255658f6ec943cda83e 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 {