]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
hwmon: (sht15) Fix parameter documentation of sht15_crc8()
authorGuenter Roeck <linux@roeck-us.net>
Sun, 3 Dec 2017 23:18:34 +0000 (15:18 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 2 Jan 2018 23:05:34 +0000 (15:05 -0800)
Sparse reports:

drivers/hwmon/sht15.c:188: warning:
No description found for parameter 'len'

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

index 25d28343ba936f42c3de33272f6d8bef20dda2ac..2be77752cd56b4a154a3d6603bf17d08267ea65e 100644 (file)
@@ -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.
  */