From d44375d5255a171e58709fac13b74129bf216f7d Mon Sep 17 00:00:00 2001 From: Eduardo Valentin Date: Tue, 23 Apr 2013 21:48:19 +0000 Subject: [PATCH] --- yaml --- r: 374572 b: refs/heads/master c: 269c174f27d2753ae809b86c9fbf5a8743a1c065 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/thermal/thermal_core.c | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 981499380629..b963a3207e1f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3a6eccb35219a7cfa7c7bbac16aa344d4a336fd4 +refs/heads/master: 269c174f27d2753ae809b86c9fbf5a8743a1c065 diff --git a/trunk/drivers/thermal/thermal_core.c b/trunk/drivers/thermal/thermal_core.c index 15220f9c849f..9c653c607b2a 100644 --- a/trunk/drivers/thermal/thermal_core.c +++ b/trunk/drivers/thermal/thermal_core.c @@ -1472,9 +1472,14 @@ void thermal_notify_framework(struct thermal_zone_device *tz, int trip) EXPORT_SYMBOL_GPL(thermal_notify_framework); /** - * create_trip_attrs - create attributes for trip points + * create_trip_attrs() - create attributes for trip points * @tz: the thermal zone device * @mask: Writeable trip point bitmap. + * + * helper function to instantiate sysfs entries for every trip + * point and its properties of a struct thermal_zone_device. + * + * Return: 0 on success, the proper error value otherwise. */ static int create_trip_attrs(struct thermal_zone_device *tz, int mask) {