drm/exynos: cleanup to get gem object for fb
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 1 Sep 2015 07:22:51 +0000 (16:22 +0900)
committerInki Dae <daeinki@gmail.com>
Wed, 2 Sep 2015 14:10:32 +0000 (23:10 +0900)
commitdcbb85a1641771547d83ee3a43230ea76703ed68
tree72d8bbc80c8ce5a1d8a8a9f020f43b2b4aac2a06
parentee885ca5c0a34d5212eae9293ee8359e65c73715
drm/exynos: cleanup to get gem object for fb

Current codes get first gem object and then again get remain gem
objects. They can be unified to one routine.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fb.c