diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-23 17:48:18 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-24 12:56:32 -0400 |
commit | 3a6eccb35219a7cfa7c7bbac16aa344d4a336fd4 (patch) | |
tree | d2d8bd6ad8a76b3c554c94d5f6c48e93f7cc942f | |
parent | 9892e5dc56f185d104e6dddd1e2d0f6ae8f4f211 (diff) |
thermal: update kernel-doc for thermal_cooling_device_register
This patch updates the documentation for thermal_cooling_device_register
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>
-rw-r--r-- | drivers/thermal/thermal_core.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 9550e6897114..15220f9c849f 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c | |||
@@ -1287,10 +1287,17 @@ static struct class thermal_class = { | |||
1287 | }; | 1287 | }; |
1288 | 1288 | ||
1289 | /** | 1289 | /** |
1290 | * thermal_cooling_device_register - register a new thermal cooling device | 1290 | * thermal_cooling_device_register() - register a new thermal cooling device |
1291 | * @type: the thermal cooling device type. | 1291 | * @type: the thermal cooling device type. |
1292 | * @devdata: device private data. | 1292 | * @devdata: device private data. |
1293 | * @ops: standard thermal cooling devices callbacks. | 1293 | * @ops: standard thermal cooling devices callbacks. |
1294 | * | ||
1295 | * This interface function adds a new thermal cooling device (fan/processor/...) | ||
1296 | * to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself | ||
1297 | * to all the thermal zone devices registered at the same time. | ||
1298 | * | ||
1299 | * Return: a pointer to the created struct thermal_cooling_device or an | ||
1300 | * ERR_PTR. Caller must check return value with IS_ERR*() helpers. | ||
1294 | */ | 1301 | */ |
1295 | struct thermal_cooling_device * | 1302 | struct thermal_cooling_device * |
1296 | thermal_cooling_device_register(char *type, void *devdata, | 1303 | thermal_cooling_device_register(char *type, void *devdata, |