Commit e11037a5 authored by Randy Dunlap's avatar Randy Dunlap Committed by Guenter Roeck

hwmon: (emc2305) fix kernel-doc warnings

Fix kernel-doc warnings:
drivers/hwmon/emc2305.c:62: warning: Cannot understand  * @cdev: cooling device;
 on line 62 - I thought it was a doc line
drivers/hwmon/emc2305.c:89: warning: Cannot understand  * @client: i2c client;
 on line 89 - I thought it was a doc line

and drop ';' at end of each struct member line.
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/20230113064540.20179-1-rdunlap@infradead.orgSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent d5f80ff7
...@@ -59,10 +59,11 @@ static const struct i2c_device_id emc2305_ids[] = { ...@@ -59,10 +59,11 @@ static const struct i2c_device_id emc2305_ids[] = {
MODULE_DEVICE_TABLE(i2c, emc2305_ids); MODULE_DEVICE_TABLE(i2c, emc2305_ids);
/** /**
* @cdev: cooling device; * struct emc2305_cdev_data - device-specific cooling device state
* @curr_state: cooling current state; * @cdev: cooling device
* @last_hwmon_state: last cooling state updated by hwmon subsystem; * @cur_state: cooling current state
* @last_thermal_state: last cooling state updated by thermal subsystem; * @last_hwmon_state: last cooling state updated by hwmon subsystem
* @last_thermal_state: last cooling state updated by thermal subsystem
* *
* The 'last_hwmon_state' and 'last_thermal_state' fields are provided to support fan low limit * The 'last_hwmon_state' and 'last_thermal_state' fields are provided to support fan low limit
* speed feature. The purpose of this feature is to provides ability to limit fan speed * speed feature. The purpose of this feature is to provides ability to limit fan speed
...@@ -86,13 +87,14 @@ struct emc2305_cdev_data { ...@@ -86,13 +87,14 @@ struct emc2305_cdev_data {
}; };
/** /**
* @client: i2c client; * struct emc2305_data - device-specific data
* @hwmon_dev: hwmon device; * @client: i2c client
* @max_state: maximum cooling state of the cooling device; * @hwmon_dev: hwmon device
* @pwm_num: number of PWM channels; * @max_state: maximum cooling state of the cooling device
* @pwm_separate: separate PWM settings for every channel; * @pwm_num: number of PWM channels
* @pwm_min: array of minimum PWM per channel; * @pwm_separate: separate PWM settings for every channel
* @cdev_data: array of cooling devices data; * @pwm_min: array of minimum PWM per channel
* @cdev_data: array of cooling devices data
*/ */
struct emc2305_data { struct emc2305_data {
struct i2c_client *client; struct i2c_client *client;
......
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