From: Guenter Roeck Date: Sun, 3 Dec 2017 23:16:52 +0000 (-0800) Subject: hwmon: (sht21) Fix documentation of struct sht21 X-Git-Tag: v4.16-rc1~190^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=679f50b8d1f80a7083444c5a8aa02281b9ff9cc1;p=thirdparty%2Flinux.git hwmon: (sht21) Fix documentation of struct sht21 Sparse reports: drivers/hwmon/sht21.c:60: warning: No description found for parameter 'client' drivers/hwmon/sht21.c:60: warning: Excess struct member 'hwmon_dev' description in 'sht21' Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/sht21.c b/drivers/hwmon/sht21.c index 06706d288355b..190e7b39ce32f 100644 --- a/drivers/hwmon/sht21.c +++ b/drivers/hwmon/sht21.c @@ -41,7 +41,7 @@ /** * struct sht21 - SHT21 device specific data - * @hwmon_dev: device registered with hwmon + * @client: I2C client device * @lock: mutex to protect measurement values * @last_update: time of last update (jiffies) * @temperature: cached temperature measurement value