Эх сурвалжийг харах

PM / OPP: Fix incorrect comments

Some comments were just copy/pasted from other sections and don't match
to the routines they were added for. Fix them.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Viresh Kumar 9 жил өмнө
parent
commit
a5da64477e

+ 3 - 3
drivers/base/power/opp/core.c

@@ -1254,7 +1254,7 @@ EXPORT_SYMBOL_GPL(dev_pm_opp_set_supported_hw);
 
 
 /**
 /**
  * dev_pm_opp_put_supported_hw() - Releases resources blocked for supported hw
  * dev_pm_opp_put_supported_hw() - Releases resources blocked for supported hw
- * @dev: Device for which supported-hw has to be set.
+ * @dev: Device for which supported-hw has to be put.
  *
  *
  * This is required only for the V2 bindings, and is called for a matching
  * This is required only for the V2 bindings, and is called for a matching
  * dev_pm_opp_set_supported_hw(). Until this is called, the device_opp structure
  * dev_pm_opp_set_supported_hw(). Until this is called, the device_opp structure
@@ -1303,7 +1303,7 @@ EXPORT_SYMBOL_GPL(dev_pm_opp_put_supported_hw);
 
 
 /**
 /**
  * dev_pm_opp_set_prop_name() - Set prop-extn name
  * dev_pm_opp_set_prop_name() - Set prop-extn name
- * @dev: Device for which the regulator has to be set.
+ * @dev: Device for which the prop-name has to be set.
  * @name: name to postfix to properties.
  * @name: name to postfix to properties.
  *
  *
  * This is required only for the V2 bindings, and it enables a platform to
  * This is required only for the V2 bindings, and it enables a platform to
@@ -1362,7 +1362,7 @@ EXPORT_SYMBOL_GPL(dev_pm_opp_set_prop_name);
 
 
 /**
 /**
  * dev_pm_opp_put_prop_name() - Releases resources blocked for prop-name
  * dev_pm_opp_put_prop_name() - Releases resources blocked for prop-name
- * @dev: Device for which the regulator has to be set.
+ * @dev: Device for which the prop-name has to be put.
  *
  *
  * This is required only for the V2 bindings, and is called for a matching
  * This is required only for the V2 bindings, and is called for a matching
  * dev_pm_opp_set_prop_name(). Until this is called, the device_opp structure
  * dev_pm_opp_set_prop_name(). Until this is called, the device_opp structure