[media] exynos4-is: Remove redundant NULL check in fimc-lite.c
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 30 Apr 2013 03:51:33 +0000 (00:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Jun 2013 00:41:41 +0000 (21:41 -0300)
commit24f99dd0fb546b0933564f9697aa5fa5fe9b41da
tree5a7ad9c843b37ad37f6aa8e0d8563d34d7a4e0dc
parent8638a467cc3357c00dadbf3280497f089802bb96
[media] exynos4-is: Remove redundant NULL check in fimc-lite.c

clk_unprepare checks for NULL pointer. Hence convert IS_ERR_OR_NULL
to IS_ERR only.
[s.nawrocki: replaced initialisations to NULL with ERR_PTR() value]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos4-is/fimc-lite.c