aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-12-03 15:24:57 -0800
committerGuenter Roeck <linux@roeck-us.net>2018-01-02 15:05:34 -0800
commita7a9b15a35d2504aa83e140d4cf50c85ac01e965 (patch)
treec3b500806c9e8fed4b70906142c1e9a88ec54313 /drivers/hwmon
parenthwmon: (iio_hwmon) Fix documentation of struct iio_hwmon_state (diff)
downloadlinux-dev-a7a9b15a35d2504aa83e140d4cf50c85ac01e965.tar.xz
linux-dev-a7a9b15a35d2504aa83e140d4cf50c85ac01e965.zip
hwmon: (hih6130) Fix documentation of struct hih6130
Sparse reports: drivers/hwmon/hih6130.c:56: warning: No description found for parameter 'client' drivers/hwmon/hih6130.c:56: warning: Excess struct member 'hwmon_dev' description in 'hih6130' Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/hih6130.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/hih6130.c b/drivers/hwmon/hih6130.c
index 7b73d2002d3e..0ae1ee1dbf76 100644
--- a/drivers/hwmon/hih6130.c
+++ b/drivers/hwmon/hih6130.c
@@ -37,7 +37,7 @@
/**
* struct hih6130 - HIH-6130 device specific data
- * @hwmon_dev: device registered with hwmon
+ * @client: pointer to I2C client device
* @lock: mutex to protect measurement values
* @valid: only false before first measurement is taken
* @last_update: time of last update (jiffies)