]> git.karo-electronics.de Git - linux-beck.git/commit
[media] s3c-camif: Remove redundant NULL check
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 30 Apr 2013 05:16:18 +0000 (02:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Jun 2013 00:41:54 +0000 (21:41 -0300)
commitd46a5a68b1690fc9f47d6b3e13ccef4e79a87e84
tree9c0610b675c77a703e78400a9f5a40ef7c6ef5e5
parent24f99dd0fb546b0933564f9697aa5fa5fe9b41da
[media] s3c-camif: Remove redundant NULL check

clk_unprepare checks for NULL pointer. Hence convert IS_ERR_OR_NULL
to IS_ERR only.
[s.nawrocki: added initialisation of the clock array to 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/s3c-camif/camif-core.c