PM / OPP: Move cpu specific code to opp/cpu.c
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 4 Sep 2015 08:17:26 +0000 (13:47 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Sep 2015 00:03:16 +0000 (02:03 +0200)
commitf59d3ee8480d30f41914cb4bed5086237e8507b0
tree06c8cea1e5d4eaa0cf94769edc892fa8ec386655
parent33692dc381f9b89ddfc408631bf670ac2fd08ffc
PM / OPP: Move cpu specific code to opp/cpu.c

Move cpu device specific code out of generic opp library, and add it to
cpu.c.

Along with that, create a core-internal opp.h header, which will be used
to share structures and function prototypes within opp core.

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/opp/core.c
drivers/base/power/opp/cpu.c
drivers/base/power/opp/opp.h [new file with mode: 0644]