From: Wei Yongjun Date: Mon, 11 Mar 2013 12:57:22 +0000 (-0300) Subject: [media] davinci: vpfe: fix return value check in vpfe_enable_clock() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~309 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b279265cfd677b618f2aee8089073a3e4632d85b;p=pandora-kernel.git [media] davinci: vpfe: fix return value check in vpfe_enable_clock() In case of error, the function clk_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun Acked-by: Lad, Prabhakar Reviewed-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed