imx-drm: imx-drm-core: move allocation of imxdrm device to driver load function
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Nov 2013 15:31:22 +0000 (15:31 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 Feb 2014 12:07:56 +0000 (12:07 +0000)
commitb85f2b5d879597708808ece7e5ebbfd6823e3f69
tree883684e338c1db8b57529139585662397c6a3b2f
parentccec7f621de02c1a5b3765f74b50d9ab6145658e
imx-drm: imx-drm-core: move allocation of imxdrm device to driver load function

It is now no longer necessary to keep this structure around; we can
allocate it upon DRM driver load and destroy it thereafter without
affecting the other components now.

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/staging/imx-drm/imx-drm-core.c