From: Ville Syrjälä Date: Fri, 31 May 2013 17:07:05 +0000 (+0300) Subject: drm/i915: Use container_of() in the fbdev code X-Git-Tag: v3.11-rc1~65^2~61^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3430824b4ba9f8b658d5503d390ce9a7286b0b4a;p=pandora-kernel.git 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ä Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed