From: Russell King Date: Sun, 3 Nov 2013 12:26:23 +0000 (+0000) Subject: imx-drm: use supplied drm_device where possible X-Git-Tag: v3.15-rc1~139^2~910^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32266b4520352f5fbae2f236c50daf4fa49c860d;p=pandora-kernel.git imx-drm: use supplied drm_device where possible The component helper provides us the drm_device which is being registered. Rather than having to reference a global in imx-drm-core, use this to get the imxdrm device, and also use it to register the CRTC against. This means we never have CRTCs/encoders/connectors without the drivers private data being accessible. Remove the module owner field as well; this provides no protection against the device being unbound. Acked-by: Philipp Zabel Acked-by: Shawn Guo Reviewed-by: Fabio Estevam Signed-off-by: Russell King --- Reading git-diff-tree failed