imx-drm: imx-drm-core: use the crtc drm device for vblank
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 17 Dec 2013 19:10:27 +0000 (19:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2014 19:59:50 +0000 (11:59 -0800)
commitb5ea14924718864d64f4cb12a6d901ffeb2972ad
treeadf92282bbfdf96ed431e6f8d8a4074f259426a7
parent38dbfb59d1175ef458d006556061adeaa8751b72
imx-drm: imx-drm-core: use the crtc drm device for vblank

There are a couple of ways to get at the drm_device for the vblank
operations.  One of them is via the private imxdrm structure, the
other is via the DRM crtc structure, which also stores a pointer.
Use the DRM method instead of our own method.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-drm-core.c