diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-12-03 18:16:52 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-01-02 18:05:34 -0500 |
commit | 679f50b8d1f80a7083444c5a8aa02281b9ff9cc1 (patch) | |
tree | b5f09810f4e4a04a13360a48b769b8578ee747ef | |
parent | 3870945aeb0e94126b9ea1cbd4f2f50d99eb948d (diff) |
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 <linux@roeck-us.net>
-rw-r--r-- | drivers/hwmon/sht21.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/sht21.c b/drivers/hwmon/sht21.c index 06706d288355..190e7b39ce32 100644 --- a/drivers/hwmon/sht21.c +++ b/drivers/hwmon/sht21.c | |||
@@ -41,7 +41,7 @@ | |||
41 | 41 | ||
42 | /** | 42 | /** |
43 | * struct sht21 - SHT21 device specific data | 43 | * struct sht21 - SHT21 device specific data |
44 | * @hwmon_dev: device registered with hwmon | 44 | * @client: I2C client device |
45 | * @lock: mutex to protect measurement values | 45 | * @lock: mutex to protect measurement values |
46 | * @last_update: time of last update (jiffies) | 46 | * @last_update: time of last update (jiffies) |
47 | * @temperature: cached temperature measurement value | 47 | * @temperature: cached temperature measurement value |