]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PM / OPP don't match for existing OPPs when list is empty
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 25 Nov 2014 10:34:17 +0000 (16:04 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 29 Nov 2014 22:53:20 +0000 (23:53 +0100)
commita7470db6fec481b14afea117846fce383671ba59
treeac6435ce63ef40718267cf14e0a4d3a77f564844
parentcd1a068a52ee6a3331a62fe53e87d6ca6cfd68a5
PM / OPP don't match for existing OPPs when list is empty

OPP list is guaranteed to be empty when 'dev_opp' is created. And so we don't
need to run the comparison loop with existing OPPs.

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