Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374571
b: refs/heads/master
c: 3a6eccb
h: refs/heads/master
i:
  374569: ddbfa9b
  374567: 2fa28be
v: v3
  • Loading branch information
Eduardo Valentin authored and Zhang Rui committed Apr 24, 2013
1 parent 24464a5 commit aa2590b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9892e5dc56f185d104e6dddd1e2d0f6ae8f4f211
refs/heads/master: 3a6eccb35219a7cfa7c7bbac16aa344d4a336fd4
9 changes: 8 additions & 1 deletion trunk/drivers/thermal/thermal_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1287,10 +1287,17 @@ static struct class thermal_class = {
};

/**
* thermal_cooling_device_register - register a new thermal cooling device
* thermal_cooling_device_register() - register a new thermal cooling device
* @type: the thermal cooling device type.
* @devdata: device private data.
* @ops: standard thermal cooling devices callbacks.
*
* This interface function adds a new thermal cooling device (fan/processor/...)
* to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself
* to all the thermal zone devices registered at the same time.
*
* Return: a pointer to the created struct thermal_cooling_device or an
* ERR_PTR. Caller must check return value with IS_ERR*() helpers.
*/
struct thermal_cooling_device *
thermal_cooling_device_register(char *type, void *devdata,
Expand Down

0 comments on commit aa2590b

Please sign in to comment.