PM / OPP: Move opp core to its own directory
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 4 Sep 2015 08:17:25 +0000 (13:47 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Sep 2015 00:03:16 +0000 (02:03 +0200)
commit33692dc381f9b89ddfc408631bf670ac2fd08ffc
treef5b66650807dc06131d56bb352cd68977e12ef2d
parent8f8d37b2537a28b5b2e3cb60dfc85a2a1303f99b
PM / OPP: Move opp core to its own directory

OPP code is expanding and is already present in multiple directories
(cpufreq and power). Lets move it to its own directory, to manage it
better.

This also moves/renames the cpufreq_opp file to cpu.c, as it will
contain helpers for cpu device. Its not just about cpufreq, other
frameworks can use OPPs as well.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/Makefile
drivers/base/power/opp.c [deleted file]
drivers/base/power/opp/Makefile [new file with mode: 0644]
drivers/base/power/opp/core.c [new file with mode: 0644]
drivers/base/power/opp/cpu.c [new file with mode: 0644]
drivers/cpufreq/Makefile
drivers/cpufreq/cpufreq_opp.c [deleted file]