Commit 0be688d0 authored by Randy Dunlap's avatar Randy Dunlap Committed by Guenter Roeck

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: default avatarRandy 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.orgSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent ffdb3ba0
...@@ -150,7 +150,7 @@ static int hih6130_update_measurements(struct device *dev) ...@@ -150,7 +150,7 @@ static int hih6130_update_measurements(struct device *dev)
} }
/** /**
* hih6130_show_temperature() - show temperature measurement value in sysfs * hih6130_temperature_show() - show temperature measurement value in sysfs
* @dev: device * @dev: device
* @attr: device attribute * @attr: device attribute
* @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
...@@ -172,7 +172,7 @@ static ssize_t hih6130_temperature_show(struct device *dev, ...@@ -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 * @dev: device
* @attr: device attribute * @attr: device attribute
* @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment