Skip to content

Commit

Permalink
PM / OPP: Fix incorrect comments
Browse files Browse the repository at this point in the history
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>
(cherry picked from commit a5da644)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
  • Loading branch information
vireshk authored and Alex Shi committed Apr 1, 2016
1 parent 35a6820 commit 4f817df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/base/power/opp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ EXPORT_SYMBOL_GPL(dev_pm_opp_set_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
* dev_pm_opp_set_supported_hw(). Until this is called, the device_opp structure
Expand Down Expand Up @@ -1282,7 +1282,7 @@ EXPORT_SYMBOL_GPL(dev_pm_opp_put_supported_hw);

/**
* 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.
*
* This is required only for the V2 bindings, and it enables a platform to
Expand Down Expand Up @@ -1341,7 +1341,7 @@ EXPORT_SYMBOL_GPL(dev_pm_opp_set_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
* dev_pm_opp_set_prop_name(). Until this is called, the device_opp structure
Expand Down

0 comments on commit 4f817df

Please sign in to comment.