exynos/drm: ipp: fix to get null when the list is empty
authorHyungwon Hwang <human.hwang@samsung.com>
Fri, 22 Aug 2014 05:35:03 +0000 (14:35 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:40 +0000 (12:00 +0900)
commitd99191642702d40261c4ad1d1c15681bcedb5fdc
treee0dbdb171952e97256b69f1c1c3ee5ffd7c0a73e
parent1deff0968e69f0d1dea5a826fb9971fb236885ef
exynos/drm: ipp: fix to get null when the list is empty

list_first_entry does not return null, when the list is empty.

Change-Id: I014e2ef5ba035db3b6fc97e6821bc9869143f867
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c