]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit386f7719c610829bbd6523235324ca3b4821d73a
tree5a7ad9c843b37ad37f6aa8e0d8563d34d7a4e0dc
parent484e36de88935d637e5ee9d0d87b43dea24cb729
[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