On 1 May 2013 14:59, Sylwester Nawrocki <sylvester.nawrocki@xxxxxxxxx> wrote: > Sachin, > > > On 04/30/2013 06:51 AM, Sachin Kamat wrote: >> >> clk_unprepare checks for NULL pointer. Hence convert IS_ERR_OR_NULL >> to IS_ERR only. >> >> Signed-off-by: Sachin Kamat<sachin.kamat@xxxxxxxxxx> >> --- >> drivers/media/platform/exynos4-is/fimc-lite.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/media/platform/exynos4-is/fimc-lite.c >> b/drivers/media/platform/exynos4-is/fimc-lite.c >> index 661d0d1..2a0ef82 100644 >> --- a/drivers/media/platform/exynos4-is/fimc-lite.c >> +++ b/drivers/media/platform/exynos4-is/fimc-lite.c >> @@ -1416,7 +1416,7 @@ static void >> fimc_lite_unregister_capture_subdev(struct fimc_lite *fimc) >> >> static void fimc_lite_clk_put(struct fimc_lite *fimc) >> { >> - if (IS_ERR_OR_NULL(fimc->clock)) >> + if (IS_ERR(fimc->clock)) >> return; >> >> clk_unprepare(fimc->clock); > > > I've queued this patch for 3.11 with the below chunk squashed to it: Thanks Sylwester. -- With warm regards, Sachin -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html