]> Pileus Git - ~andy/linux/commitdiff
PM / OPP: add documentation to RCU head in struct opp
authorNishanth Menon <nm@ti.com>
Tue, 26 Mar 2013 18:01:49 +0000 (18:01 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 5 Apr 2013 12:22:59 +0000 (14:22 +0200)
commit dde8437 (PM / OPP: RCU reclaim) introduced rcu_head for
struct opp. This aids freeing using kfree_rcu. However, we missed
adding documentation for the same. This generates kernel doc warning:
Warning(drivers/base/power/opp.c:70): No description found for
parameter 'head'

Add documentation as appropriate.

[rjw: Changelog]
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp.c

index 32ee0fc7ea54587241f7f3ac22ffc679e0b371de..f0077cb8e249e5f0fac3ef302d9a1ded177a479b 100644 (file)
@@ -55,6 +55,7 @@
  * @rate:      Frequency in hertz
  * @u_volt:    Nominal voltage in microvolts corresponding to this OPP
  * @dev_opp:   points back to the device_opp struct this opp belongs to
+ * @head:      RCU callback head used for deferred freeing
  *
  * This structure stores the OPP information for a given device.
  */