From: Wei Yongjun Date: Fri, 21 Sep 2012 06:00:04 +0000 (+0800) Subject: staging: tidspbridge: fix return value check in dsp_wdt_init() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ba76785eef21ecfa3bcd2f6358f9cebbd8a9db;p=pandora-kernel.git staging: tidspbridge: fix return value check in dsp_wdt_init() In case of error, the function clk_get() returns ERR_PTR() and never returns NULL pointer. The NULL test in the error handling 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: Greg Kroah-Hartman --- Reading git-diff-tree failed