aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/thermal_core.c
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-04-23 17:48:16 -0400
committerZhang Rui <rui.zhang@intel.com>2013-04-24 12:56:24 -0400
commitd2e4eb83e7523c5b673ce3004d514c1d1ec32618 (patch)
tree89a22c5daabd9c8892c4dc3c9a70f44de55b816c /drivers/thermal/thermal_core.c
parent910cb1e34d2fb8f9b5669a9fb452cbe1012251fe (diff)
thermal: update kernel-doc for thermal_zone_bind_cooling_device
This patch updates the documentation for thermal_zone_bind_cooling_device and removes the warnings generated by scripts/kernel-doc -v. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/thermal_core.c')
-rw-r--r--drivers/thermal/thermal_core.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index eb3385edeacc..5f6af8ade324 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -1109,13 +1109,23 @@ thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz)
1109#endif 1109#endif
1110 1110
1111/** 1111/**
1112 * thermal_zone_bind_cooling_device - bind a cooling device to a thermal zone 1112 * thermal_zone_bind_cooling_device() - bind a cooling device to a thermal zone
1113 * @tz: thermal zone device 1113 * @tz: pointer to struct thermal_zone_device
1114 * @trip: indicates which trip point the cooling devices is 1114 * @trip: indicates which trip point the cooling devices is
1115 * associated with in this thermal zone. 1115 * associated with in this thermal zone.
1116 * @cdev: thermal cooling device 1116 * @cdev: pointer to struct thermal_cooling_device
1117 * @upper: the Maximum cooling state for this trip point.
1118 * THERMAL_NO_LIMIT means no upper limit,
1119 * and the cooling device can be in max_state.
1120 * @lower: the Minimum cooling state can be used for this trip point.
1121 * THERMAL_NO_LIMIT means no lower limit,
1122 * and the cooling device can be in cooling state 0.
1117 * 1123 *
1124 * This interface function bind a thermal cooling device to the certain trip
1125 * point of a thermal zone device.
1118 * This function is usually called in the thermal zone device .bind callback. 1126 * This function is usually called in the thermal zone device .bind callback.
1127 *
1128 * Return: 0 on success, the proper error value otherwise.
1119 */ 1129 */
1120int thermal_zone_bind_cooling_device(struct thermal_zone_device *tz, 1130int thermal_zone_bind_cooling_device(struct thermal_zone_device *tz,
1121 int trip, 1131 int trip,