aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-12-03 15:18:34 -0800
committerGuenter Roeck <linux@roeck-us.net>2018-01-02 15:05:34 -0800
commitd5324e90957adb4f2ab144d14ed74853a8d9c525 (patch)
tree2d5adf32b35aeb5e6affeec0cb9287777664d04b /drivers/hwmon
parenthwmon: (sht21) Fix documentation of struct sht21 (diff)
downloadlinux-dev-d5324e90957adb4f2ab144d14ed74853a8d9c525.tar.xz
linux-dev-d5324e90957adb4f2ab144d14ed74853a8d9c525.zip
hwmon: (sht15) Fix parameter documentation of sht15_crc8()
Sparse reports: drivers/hwmon/sht15.c:188: warning: No description found for parameter 'len' Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/sht15.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c
index 25d28343ba93..2be77752cd56 100644
--- a/drivers/hwmon/sht15.c
+++ b/drivers/hwmon/sht15.c
@@ -179,6 +179,7 @@ struct sht15_data {
* sht15_crc8() - compute crc8
* @data: sht15 specific data.
* @value: sht15 retrieved data.
+ * @len: Length of retrieved data
*
* This implements section 2 of the CRC datasheet.
*/