Skip to content

Commit

Permalink
drm/i915: Rename struct i915_power_well field data to id
Browse files Browse the repository at this point in the history
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: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/f3916c3c5bfa793b0fc870fd44007a3ff425194d.1475770848.git-series.ander.conselvan.de.oliveira@intel.com
  • Loading branch information
Ander Conselvan de Oliveira committed Oct 28, 2016
1 parent 96583dd commit 01c3faa
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 57 deletions.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/i915/i915_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,8 @@ struct i915_power_well {
/* cached hw enabled state */
bool hw_enabled;
unsigned long domains;
unsigned long data;
/* unique identifier for this power well */
unsigned long id;
const struct i915_power_well_ops *ops;
};

Expand Down
Loading

0 comments on commit 01c3faa

Please sign in to comment.