git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7284a00
)
PM / OPP: remove double calls to find_device_opp()
author
Viresh Kumar
<viresh.kumar@linaro.org>
Mon, 8 Dec 2014 08:16:18 +0000
(13:46 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 10 Dec 2014 01:39:12 +0000
(
02:39
+0100)
By mistake we called find_device_opp() twice in of_free_opp_table(), fix it.
Generated diff doesn't show the problem well and so here is the code snippet:
void of_free_opp_table(struct device *dev)
{
struct device_opp *dev_opp = find_device_opp(dev);
struct dev_pm_opp *opp, *tmp;
/* Check for existing list for 'dev' */
dev_opp = find_device_opp(dev);
...
}
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp.c
patch
|
blob
|
history
diff --cc
drivers/base/power/opp.c
Simple merge