drm/i915: Rename struct i915_power_well field data to id

Calling it data seems to imply arbitrary data can be associated with the
power well. However, that field is used for look ups and expected to be
unique, so rename it.
Signed-off-by: default avatarAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/f3916c3c5bfa793b0fc870fd44007a3ff425194d.1475770848.git-series.ander.conselvan.de.oliveira@intel.com
parent 96583ddb
...@@ -1322,7 +1322,8 @@ struct i915_power_well { ...@@ -1322,7 +1322,8 @@ struct i915_power_well {
/* cached hw enabled state */ /* cached hw enabled state */
bool hw_enabled; bool hw_enabled;
unsigned long domains; unsigned long domains;
unsigned long data; /* unique identifier for this power well */
unsigned long id;
const struct i915_power_well_ops *ops; const struct i915_power_well_ops *ops;
}; };
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment