From: Wei Yongjun Date: Fri, 21 Sep 2012 06:35:18 +0000 (+0800) Subject: clk: fix return value check in of_fixed_clk_setup() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~93^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdfed3b21f10ecd1566c7d5b8d40f05b18d52bda;p=pandora-kernel.git clk: fix return value check in of_fixed_clk_setup() In case of error, the function clk_register_fixed_rate() returns ERR_PTR() not NULL pointer. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: Mike Turquette --- Reading git-diff-tree failed