]> git.karo-electronics.de Git - linux-beck.git/commitdiff
thermal: update kernel-doc for create_trip_attrs
authorEduardo Valentin <eduardo.valentin@ti.com>
Tue, 23 Apr 2013 21:48:19 +0000 (21:48 +0000)
committerZhang Rui <rui.zhang@intel.com>
Wed, 24 Apr 2013 16:56:35 +0000 (00:56 +0800)
This patch updates the documentation for create_trip_attrs
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>
drivers/thermal/thermal_core.c

index 15220f9c849f466fe8dda04cb7508193ae37c805..9c653c607b2a1cf4122379a09c701a15b4b67983 100644 (file)
@@ -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)
 {