Skip to content

Commit 1e46178

Browse files
rddunlaprafaeljw
authored andcommitted
thermal: core: thermal_core.h: fix all kernel-doc warnings
Resolve all kernel-doc warnings in thermal_core.h: Warning: drivers/thermal/thermal_core.h:99 bad line: trip point. Warning: drivers/thermal/thermal_core.h:101 bad line: passive trip point. Warning: drivers/thermal/thermal_core.h:152 struct member 'trips_attribute_group' not described in 'thermal_zone_device' Warning: drivers/thermal/thermal_core.h:152 struct member 'debugfs' not described in 'thermal_zone_device' Warning: drivers/thermal/thermal_core.h:152 struct member 'user_thresholds' not described in 'thermal_zone_device' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://patch.msgid.link/20260128062446.402175-1-rdunlap@infradead.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 1ccc3be commit 1e46178

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

drivers/thermal/thermal_core.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ struct thermal_governor {
7777
* @device: &struct device for this thermal zone
7878
* @removal: removal completion
7979
* @resume: resume completion
80+
* @trips_attribute_group: trip point sysfs attributes
8081
* @trips_high: trips above the current zone temperature
8182
* @trips_reached: trips below or at the current zone temperature
8283
* @trips_invalid: trips with invalid temperature
@@ -97,9 +98,9 @@ struct thermal_governor {
9798
* @emul_temperature: emulated temperature when using CONFIG_THERMAL_EMULATION
9899
* @passive: 1 if you've crossed a passive trip point, 0 otherwise.
99100
* @prev_low_trip: the low current temperature if you've crossed a passive
100-
trip point.
101+
* trip point.
101102
* @prev_high_trip: the above current temperature if you've crossed a
102-
passive trip point.
103+
* passive trip point.
103104
* @ops: operations this &thermal_zone_device supports
104105
* @tzp: thermal zone parameters
105106
* @governor: pointer to the governor for this thermal zone
@@ -111,6 +112,8 @@ struct thermal_governor {
111112
* @poll_queue: delayed work for polling
112113
* @notify_event: Last notification event
113114
* @state: current state of the thermal zone
115+
* @debugfs: this thermal zone device's thermal zone debug info
116+
* @user_thresholds: list of userspace thresholds for temp. limit notifications
114117
* @trips: array of struct thermal_trip objects
115118
*/
116119
struct thermal_zone_device {

0 commit comments

Comments
 (0)