]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96811399706c9830ed87869da151870a7e62d105
tree1c67184c43ff1ddea71a0e2f6d8127b2ca94fa80
parent360b60c7bdbc9e4905da7d229396d266a46ada73
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