diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-01-12 22:45:49 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-02-03 07:30:10 -0800 |
commit | 0be688d04211bed501faf0d5ed952175f7bc2706 (patch) | |
tree | 806c5ae0497b03b8b06cf8f9f6821a571024ac4a /drivers/hwmon/hih6130.c | |
parent | ffdb3ba034e4850fcc678594bb5375fb01f6c063 (diff) | |
download | linux-0be688d04211bed501faf0d5ed952175f7bc2706.tar.gz linux-0be688d04211bed501faf0d5ed952175f7bc2706.tar.bz2 linux-0be688d04211bed501faf0d5ed952175f7bc2706.zip |
hwmon: (hih6130) fix kernel-doc warnings
Use the correct function name in kernel-doc comments to prevent these
warnings:
drivers/hwmon/hih6130.c:164: warning: expecting prototype for hih6130_show_temperature(). Prototype was for hih6130_temperature_show() instead
drivers/hwmon/hih6130.c:185: warning: expecting prototype for hih6130_show_humidity(). Prototype was for hih6130_humidity_show() instead
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jean Delvare <jdelvare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org
Link: https://lore.kernel.org/r/20230113064549.21289-1-rdunlap@infradead.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/hih6130.c')
-rw-r--r-- | drivers/hwmon/hih6130.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/hih6130.c b/drivers/hwmon/hih6130.c index d9394e19fea8..3a7582824f94 100644 --- a/drivers/hwmon/hih6130.c +++ b/drivers/hwmon/hih6130.c @@ -150,7 +150,7 @@ out: } /** - * hih6130_show_temperature() - show temperature measurement value in sysfs + * hih6130_temperature_show() - show temperature measurement value in sysfs * @dev: device * @attr: device attribute * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to @@ -172,7 +172,7 @@ static ssize_t hih6130_temperature_show(struct device *dev, } /** - * hih6130_show_humidity() - show humidity measurement value in sysfs + * hih6130_humidity_show() - show humidity measurement value in sysfs * @dev: device * @attr: device attribute * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to |