imx-drm: imx-drm-core: avoid going the long route round for drm_device
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 17 Dec 2013 19:10:47 +0000 (19:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2014 19:59:50 +0000 (11:59 -0800)
commit020a9ea7c2206be4382a09cbafc7c3bdf5bbf8a5
tree1c67184c43ff1ddea71a0e2f6d8127b2ca94fa80
parentb5ea14924718864d64f4cb12a6d901ffeb2972ad
imx-drm: imx-drm-core: avoid going the long route round for drm_device

We have the drm_device available, so rather than storing it and then
using the stored version, us the one we already have available to us.

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