|author||Nishanth Menon <firstname.lastname@example.org>||2013-09-19 16:03:51 -0500|
|committer||Rafael J. Wysocki <email@example.com>||2013-10-25 22:33:23 +0200|
PM / OPP: rename data structures to dev_pm equivalents
Since Operating Performance Points (OPP) data structures are specific to device specific power management, be specific and rename opp_* data structures in OPP library with dev_pm_opp_* equivalent. Affected structures are: struct opp enum opp_event Minor checkpatch warning resulting of this change was fixed as well. Reported-by: Randy Dunlap <firstname.lastname@example.org> Signed-off-by: Nishanth Menon <email@example.com> Signed-off-by: Rafael J. Wysocki <firstname.lastname@example.org>
Diffstat (limited to 'Documentation/power')
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/power/opp.txt b/Documentation/power/opp.txt
index 185367b1848f..7f67e3d2c530 100644
@@ -358,14 +358,14 @@ accessed by various functions as described above. However, the structures
representing the actual OPPs and domains are internal to the OPP library itself
to allow for suitable abstraction reusable across systems.
-struct opp - The internal data structure of OPP library which is used to
+struct dev_pm_opp - The internal data structure of OPP library which is used to
represent an OPP. In addition to the freq, voltage, availability
information, it also contains internal book keeping information required
for the OPP library to operate on. Pointer to this structure is
provided back to the users such as SoC framework to be used as a
identifier for OPP in the interactions with OPP layer.
- WARNING: The struct opp pointer should not be parsed or modified by the
+ WARNING: The struct dev_pm_opp pointer should not be parsed or modified by the
users. The defaults of for an instance is populated by dev_pm_opp_add, but the
availability of the OPP can be modified by dev_pm_opp_enable/disable functions.