diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-05-31 20:07:05 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-06-03 13:45:41 +0200 |
commit | 3430824b4ba9f8b658d5503d390ce9a7286b0b4a (patch) | |
tree | a16f60d92c772c6967b3421c883829bd6567a0c9 /tools/perf/scripts/python/netdev-times.py | |
parent | 96a764d983647636b39c462ea14cd1f588f6c0bd (diff) |
drm/i915: Use container_of() in the fbdev code
Use container_of() instead of a cast to get struct intel_fbdev
from struct drm_fb_helper.
Also populate the fb_info->par correctly with the drm_fb_helper pointer
instead of the intel_fbdev pointer.
There's no actual functional change since the drm_fb_helper happens to
be the first member inside intel_fbdev.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions