summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-12-04 00:22:26 +0100
committerGuenter Roeck <linux@roeck-us.net>2018-01-03 00:05:34 +0100
commit7f6d70cd478452d2534b6c33b752a8009783383a (patch)
treeb34ffe351609f70ce62dde944dc92077104ade18 /drivers/hwmon
parenthwmon: (sht15) Fix parameter documentation of sht15_crc8() (diff)
downloadlinux-7f6d70cd478452d2534b6c33b752a8009783383a.tar.xz
linux-7f6d70cd478452d2534b6c33b752a8009783383a.zip
hwmon: (iio_hwmon) Fix documentation of struct iio_hwmon_state
Sparse reports: drivers/hwmon/iio_hwmon.c:36: warning: No description found for parameter 'groups' Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/iio_hwmon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/iio_hwmon.c b/drivers/hwmon/iio_hwmon.c
index f6a76679c650..5e5b32a1ec4b 100644
--- a/drivers/hwmon/iio_hwmon.c
+++ b/drivers/hwmon/iio_hwmon.c
@@ -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 {